X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Flib%2Foojs-ui%2Foojs-ui-windows.js;h=0a29b8b1597f636e121531ffa7a736a14e590d2f;hb=7874fc4bec845ad92960b07e969c65f3c3fe74f2;hp=510399dc63215028a205e39c882a23b432547cde;hpb=abb4d29b54c1bc4b4fb620f1124559ead13a074e;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/oojs-ui/oojs-ui-windows.js b/resources/lib/oojs-ui/oojs-ui-windows.js index 510399dc63..0a29b8b159 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows.js +++ b/resources/lib/oojs-ui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.17.8 + * OOjs UI v0.17.10 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-08-16T21:13:48Z + * Date: 2016-10-03T18:59:01Z */ ( function ( OO ) { @@ -183,6 +183,7 @@ OO.ui.ActionWidget.prototype.toggle = function () { return this; }; +/* eslint-disable no-unused-vars */ /** * ActionSets manage the behavior of the {@link OO.ui.ActionWidget action widgets} that comprise them. * Actions can be made available for specific contexts (modes) and circumstances @@ -283,6 +284,7 @@ OO.ui.ActionSet = function OoUiActionSet( config ) { this.changing = false; this.changed = false; }; +/* eslint-enable no-unused-vars */ /* Setup */ @@ -1545,7 +1547,7 @@ OO.ui.WindowManager.prototype.toggleGlobalEvents = function ( on ) { $body = $( this.getElementDocument().body ), // We could have multiple window managers open so only modify // the body css at the bottom of the stack - stackDepth = $body.data( 'windowManagerGlobalEvents' ) || 0 ; + stackDepth = $body.data( 'windowManagerGlobalEvents' ) || 0; on = on === undefined ? !!this.globalEvents : !!on;