Move MessagesEnRTL.php to MessagesEn_rtl.php so that it can be accessed with the...
[lhc/web/wiklou.git] / resources / mediawiki.page / mediawiki.page.startup.js
index 163dbf3..c601c29 100644 (file)
@@ -5,11 +5,13 @@
        /* Client profile classes for <html> */
 
        var prof = $.client.profile();
-       $( 'html' ).addClass(
-               'client-' + prof.name
-               + ' client-' + prof.name + '-' + prof.versionBase
-               + ' client-' + prof.layout
-               + ' client-' + prof.platform
-       );
+       $( 'html' )
+               .addClass(
+                       'client-' + prof.name
+                       + ' client-' + prof.name + '-' + prof.versionBase
+                       + ' client-' + prof.layout
+                       + ' client-' + prof.platform
+                       + ' client-js' )
+               .removeClass( 'client-nojs' );
 
 } )( jQuery );