Fix regression in I24d9b16
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 8 Nov 2015 21:04:53 +0000 (22:04 +0100)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 8 Nov 2015 22:23:56 +0000 (23:23 +0100)
I accidently lost this a CSS block in the transition, and the first
page was missing the prefsection class.

Bug: T115692
Change-Id: I712824cf33bf842e42ca9c6e6660a4cbbf9e6d8e

resources/src/mediawiki.special/mediawiki.special.preferences.js
resources/src/mediawiki.special/mediawiki.special.preferences.styles.css

index f799eaf..dd6c2ed 100644 (file)
@@ -20,8 +20,8 @@
                        .attr( {
                                role: 'tabpanel',
                                'aria-labelledby': labelFunc
-                       } )
-                       .not( '#mw-prefsection-personal' )
+                       } );
+               $fieldsets.not( '#mw-prefsection-personal' )
                                .hide()
                                .attr( 'aria-hidden', 'true' );
 
index e6785b4..5b76712 100644 (file)
        zoom: 1;
 }
 
+/* When JS is enabled, .mw-preferences-messageboxes are replaced with mw.notifications */
+.client-js .mw-preferences-messagebox {
+       display: none;
+}
+
 .client-nojs #preftoc {
        display: none;
 }