MediaWiki:Gadget-cosmostweaks.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 204: | Line 204: | ||
railToggle.click(function(){ | railToggle.click(function(){ | ||
article.toggleClass('ct-railshown'); | article.toggleClass('ct-railshown'); | ||
if (article.is('.ct-railshown')) { | |||
$('#CosmosRail').css('display', 'none').fadeIn(500); | |||
} | |||
}); | }); | ||
} // end hide rail ------------------------------------------------------------------------------------------------------ | } // end hide rail ------------------------------------------------------------------------------------------------------ | ||