Merge "Avoid postgres CategoryMembershipChangeTest failures"
[lhc/web/wiklou.git] / resources / lib / oojs-ui / oojs-ui-mediawiki.js
index b8dbf7b..30b9f93 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.21.1
+ * OOjs UI v0.21.3
  * 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-04-18T23:32:49Z
+ * Date: 2017-05-10T00:55:40Z
  */
 ( function ( OO ) {
 
@@ -52,7 +52,7 @@ OO.ui.MediaWikiTheme.prototype.getElementClasses = function ( element ) {
                        // Button with a dark background
                        isFramed && ( isActive || element.isDisabled() || element.hasFlag( 'primary' ) ) ||
                        // Toolbar with a dark background
-                       element instanceof OO.ui.ToolGroup && ( isActive || element.hasFlag( 'primary' ) )
+                       OO.ui.ToolGroup && element instanceof OO.ui.ToolGroup && ( isActive || element.hasFlag( 'primary' ) )
                ) {
                        // … use white icon / indicator, regardless of other flags
                        variants.invert = true;
@@ -87,3 +87,5 @@ OO.ui.MediaWikiTheme.prototype.getDialogTransitionDuration = function () {
 OO.ui.theme = new OO.ui.MediaWikiTheme();
 
 }( OO ) );
+
+//# sourceMappingURL=oojs-ui-mediawiki.js.map
\ No newline at end of file