mediawiki-extensions-Popups/resources/ext.popups.disablenavpop.js
Prateek Saxena a6ad92e9fd Disable NavigationPopups (Gadget) if Popups (Extension) is enabled
Bug: 62952
Change-Id: If3757199c280bb0ad54878111dcf926b88778b64
2014-06-06 13:04:34 +05:30

13 lines
293 B
JavaScript

/*global disablePopups: false */
// Disable NavigationPopups
// This should be happening in NavPopups itself or by disabling the gadget
// This is a temporary fix
( function ( $ ) {
$( function () {
if ( typeof disablePopups !== undefined ) {
disablePopups();
}
} );
} ( jQuery ) );