mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-25 16:05:39 +00:00
deaaf0961b
Instead load it via mw.loader.using We retain the module name ext.popups as this will be present in cached HTML, however now it will load the bulk of the code inside ext.popups.main Bug: T176211 Change-Id: Ibe212721807d3698dc45ef46b2dbde15ca9d2f70
5 lines
143 B
JavaScript
5 lines
143 B
JavaScript
// Load Popups outside the critical rendering path (T176211)
|
|
mw.requestIdleCallback( function () {
|
|
mw.loader.using( 'ext.popups.main' );
|
|
} );
|