X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Flib%2Foojs-ui%2Foojs-ui-toolbars.js;h=661489f8d3390b1b229c4d8a78a6907c5280f0cb;hb=6f6e7d6dfd5b4c5cdb4f1e4f80be77dd8ad71b57;hp=b52dae6488192d8b88c40b22da3a4d96192d41b8;hpb=f027550aa3c47326bc81c39e99b28399f1e381c2;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 b52dae6488..661489f8d3 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.23.3 + * OOjs UI v0.24.2 * 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-10-04T01:20:41Z + * Date: 2017-11-07T22:52:40Z */ ( function ( OO ) { @@ -1962,7 +1962,9 @@ OO.ui.PopupToolGroup.prototype.setActive = function ( value ) { if ( this.isClippedHorizontally() ) { // Anchoring to the right also caused the popup to clip, so just make it fill the container containerWidth = this.$clippableScrollableContainer.width(); - containerLeft = this.$clippableScrollableContainer.offset().left; + containerLeft = this.$clippableScrollableContainer[ 0 ] === document.documentElement ? + 0 : + this.$clippableScrollableContainer.offset().left; this.toggleClipping( false ); this.$element.removeClass( 'oo-ui-popupToolGroup-right' );