Update OOUI to v0.26.2
[lhc/web/wiklou.git] / resources / lib / oojs-ui / oojs-ui-core.js
index b53aa7b..4963581 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOUI v0.25.3
+ * OOUI v0.26.2
  * https://www.mediawiki.org/wiki/OOUI
  *
  * Copyright 2011–2018 OOUI Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2018-03-07T06:52:35Z
+ * Date: 2018-04-04T17:22:44Z
  */
 ( function ( OO ) {
 
@@ -533,7 +533,7 @@ OO.ui.isSafeUrl = function ( url ) {
  * It is left up to implementors to decide how to compute this
  * so the default implementation always returns false.
  *
- * @return {boolean} Use is on a mobile device
+ * @return {boolean} User is on a mobile device
  */
 OO.ui.isMobile = function () {
        return false;
@@ -10834,6 +10834,7 @@ OO.ui.MultilineTextInputWidget = function OoUiMultilineTextInputWidget( config )
                this.$input.attr( 'rows', config.rows );
        }
        if ( this.autosize ) {
+               this.$input.addClass( 'oo-ui-textInputWidget-autosized' );
                this.isWaitingToBeAttached = true;
                this.installParentChangeDetector();
        }
@@ -11462,7 +11463,7 @@ OO.ui.FieldLayout.prototype.makeMessage = function ( kind, text ) {
                $icon = new OO.ui.IconWidget( { icon: 'alert', flags: [ 'warning' ] } ).$element;
                $listItem.attr( 'role', 'alert' );
        } else if ( kind === 'notice' ) {
-               $icon = new OO.ui.IconWidget( { icon: 'info' } ).$element;
+               $icon = new OO.ui.IconWidget( { icon: 'notice' } ).$element;
        } else {
                $icon = '';
        }