/*!
- * OOjs UI v0.23.3
+ * OOjs UI v0.24.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-10-04T01:20:41Z
+ * Date: 2017-10-31T22:46:35Z
*/
( function ( OO ) {
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' );