http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96573

Revision: 96573
Author:   catrope
Date:     2011-09-08 15:03:00 +0000 (Thu, 08 Sep 2011)
Log Message:
-----------
More style fixes, mostly for r96204

Modified Paths:
--------------
    trunk/extensions/Narayam/js/ext.narayam.core.js

Modified: trunk/extensions/Narayam/js/ext.narayam.core.js
===================================================================
--- trunk/extensions/Narayam/js/ext.narayam.core.js     2011-09-08 14:59:51 UTC 
(rev 96572)
+++ trunk/extensions/Narayam/js/ext.narayam.core.js     2011-09-08 15:03:00 UTC 
(rev 96573)
@@ -426,7 +426,7 @@
         */
        this.setup = function() {
                // Build the menu
-               if ( !that.buildMenu() ){
+               if ( !that.buildMenu() ) {
                        // /buildMenu() returned false
                        // No need to proceed
                        return;
@@ -448,7 +448,7 @@
                else {
                        $( 'li#pt-narayam' ).addClass( 'narayam-inactive' );
                }
-               // Renew the narayam-enabled cookie. naraym-scheme is renewed 
by setScheme()
+               // Renew the narayam-enabled cookie. narayam-scheme is renewed 
by setScheme()
                if ( enabledCookie ) {
                        $.cookie( 'narayam-enabled', enabledCookie, {
                                'path': '/',
@@ -548,10 +548,10 @@
                // coming on top of everything.
                // TODO: is there a better solution other than hiding it on 
hover?
                if ( $.browser.msie ) { 
-                       $( "#narayam-menu" ).hover( function() {
-                               $( "#searchform" ).css( { visibility: "hidden" 
} );
+                       $( '#narayam-menu' ).hover( function() {
+                               $( '#searchform' ).css( 'visibility', 'hidden' 
);
                        }, function() {
-                               $( "#searchform" ).css( { visibility: "visible" 
} );
+                               $( '#searchform' ).css( 'visibility', 'visible' 
);
                        });
                }
                


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to