Index: trunk/extensions/Narayam/js/ext.narayam.core.js |
— | — | @@ -426,7 +426,7 @@ |
427 | 427 | */ |
428 | 428 | this.setup = function() { |
429 | 429 | // Build the menu |
430 | | - if ( !that.buildMenu() ){ |
| 430 | + if ( !that.buildMenu() ) { |
431 | 431 | // /buildMenu() returned false |
432 | 432 | // No need to proceed |
433 | 433 | return; |
— | — | @@ -448,7 +448,7 @@ |
449 | 449 | else { |
450 | 450 | $( 'li#pt-narayam' ).addClass( 'narayam-inactive' ); |
451 | 451 | } |
452 | | - // Renew the narayam-enabled cookie. naraym-scheme is renewed by setScheme() |
| 452 | + // Renew the narayam-enabled cookie. narayam-scheme is renewed by setScheme() |
453 | 453 | if ( enabledCookie ) { |
454 | 454 | $.cookie( 'narayam-enabled', enabledCookie, { |
455 | 455 | 'path': '/', |
— | — | @@ -548,10 +548,10 @@ |
549 | 549 | // coming on top of everything. |
550 | 550 | // TODO: is there a better solution other than hiding it on hover? |
551 | 551 | if ( $.browser.msie ) { |
552 | | - $( "#narayam-menu" ).hover( function() { |
553 | | - $( "#searchform" ).css( { visibility: "hidden" } ); |
| 552 | + $( '#narayam-menu' ).hover( function() { |
| 553 | + $( '#searchform' ).css( 'visibility', 'hidden' ); |
554 | 554 | }, function() { |
555 | | - $( "#searchform" ).css( { visibility: "visible" } ); |
| 555 | + $( '#searchform' ).css( 'visibility', 'visible' ); |
556 | 556 | }); |
557 | 557 | } |
558 | 558 | |