X-Git-Url: https://git.heureux-cyclage.org/index.php?a=blobdiff_plain;f=resources%2Flib%2Foojs-ui%2Foojs-ui-toolbars.js;h=a0751ea24b59471034ea3d44f13b2b2c694b5b34;hb=acc375d88c0b9bf142197470e708462c16e5a37b;hp=97c99ef37410cda8d749994d7f39d24bdfcd0e8e;hpb=975cd8710036865784a97aaffe2c0a3f69c8580c;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars.js b/resources/lib/oojs-ui/oojs-ui-toolbars.js index 97c99ef374..a0751ea24b 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars.js +++ b/resources/lib/oojs-ui/oojs-ui-toolbars.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.21.2 + * OOjs UI v0.22.1 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2017 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2017-04-26T01:05:10Z + * Date: 2017-05-31T19:07:36Z */ ( function ( OO ) { @@ -629,10 +629,8 @@ OO.ui.Tool = function OoUiTool( toolGroup, config ) { .attr( 'role', 'button' ); this.$element .data( 'oo-ui-tool', this ) - .addClass( - 'oo-ui-tool ' + 'oo-ui-tool-name-' + - this.constructor.static.name.replace( /^([^\/]+)\/([^\/]+).*$/, '$1-$2' ) - ) + .addClass( 'oo-ui-tool' ) + .addClass( 'oo-ui-tool-name-' + this.constructor.static.name.replace( /^([^\/]+)\/([^\/]+).*$/, '$1-$2' ) ) .toggleClass( 'oo-ui-tool-with-label', this.constructor.static.displayBothIconAndLabel ) .append( this.$link ); this.setTitle( config.title || this.constructor.static.title ); @@ -1043,8 +1041,8 @@ OO.ui.ToolGroup.prototype.onMouseKeyDown = function ( e ) { this.pressed.setActive( true ); this.getElementDocument().addEventListener( 'mouseup', this.onCapturedMouseKeyUpHandler, true ); this.getElementDocument().addEventListener( 'keyup', this.onCapturedMouseKeyUpHandler, true ); + return false; } - return false; } }; @@ -2363,3 +2361,5 @@ OO.ui.MenuToolGroup.prototype.onUpdateState = function () { }; }( OO ) ); + +//# sourceMappingURL=oojs-ui-toolbars.js.map \ No newline at end of file