mediawiki-extensions-Popups/resources/ext.popups.disablenavpop.js
Prateek Saxena 0192822522 disablenavpop: Correct type check for disablePopups global
Change-Id: I33f62c74fe231c74cf54937aa43ac35ae15a0b37
2014-06-10 16:50:24 +05:30

13 lines
295 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 ) );