/*!
- * OOUI v0.29.4
+ * OOUI v0.30.1
* https://www.mediawiki.org/wiki/OOUI
*
- * Copyright 2011–2018 OOUI Team and other contributors.
+ * Copyright 2011–2019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2018-11-07T00:58:30Z
+ * Date: 2019-01-10T07:00:09Z
*/
( function ( OO ) {
* toolbar.$element,
* contentFrame.$element.append( $area )
* );
- * $( 'body' ).append( frame.$element );
+ * $( document.body ).append( frame.$element );
*
* // Here is where the toolbar is actually built. This must be done after inserting it into the
* // document.
* toolbar.$element,
* contentFrame.$element.append( $area )
* );
- * $( 'body' ).append( frame.$element );
+ * $( document.body ).append( frame.$element );
*
* // Here is where the toolbar is actually built. This must be done after inserting it into the
* // document.
* toolbar.$element,
* contentFrame.$element.append( $area )
* );
- * $( 'body' ).append( frame.$element );
+ * $( document.body ).append( frame.$element );
*
* // Here is where the toolbar is actually built. This must be done after inserting it into the
* // document.
if ( e.which === OO.ui.Keys.TAB && !e.shiftKey ) {
$focusable = OO.ui.findFocusable( this.$group );
if ( $focusable.length ) {
- $focusable.focus();
+ $focusable.trigger( 'focus' );
return false;
}
}
* frame.$element.append(
* toolbar.$element
* );
- * $( 'body' ).append( frame.$element );
+ * $( document.body ).append( frame.$element );
* // Build the toolbar. This must be done after the toolbar has been appended to the document.
* toolbar.initialize();
*
* toolbar.$element,
* contentFrame.$element.append( $area )
* );
- * $( 'body' ).append( frame.$element );
+ * $( document.body ).append( frame.$element );
*
* // Here is where the toolbar is actually built. This must be done after inserting it into the
* // document.