/*!
- * OOjs UI v0.19.2
+ * OOjs UI v0.19.5
* 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-02-14T22:47:20Z
+ * Date: 2017-03-07T22:57:01Z
*/
( function ( OO ) {
align: 'forwards',
anchor: false
} );
- OO.ui.mixin.PopupElement.call( this, $.extend( true, {}, config, {
- popup: {
- $floatableContainer: this.$element
- }
- } ) );
+ OO.ui.mixin.PopupElement.call( this, config );
$tabFocus = $( '<span>' );
OO.ui.mixin.TabIndexedElement.call( this, $.extend( {}, config, { $tabIndexed: $tabFocus } ) );
} else {
if ( height !== this.height ) {
this.height = height;
this.menu.position();
+ if ( this.popup ) {
+ this.popup.updateDimensions();
+ }
this.emit( 'resize' );
}
};