User:Canadabonk/common.js: Difference between revisions
Content deleted Content added
Canadabonk (talk | contribs) No edit summary |
Canadabonk (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
/*
canada's cosmostweaks
Line 37 ⟶ 35:
}
if (localStorage.ctRailHidden == 'true') {
$('.cosmos-articleContainer').
}
if (!enableDarkMode) {
Line 175 ⟶ 173:
$(window).scroll(function(){
if (window.scrollY >
bannerNav.css('transform', 'unset');
} else {
Line 199 ⟶ 197:
$(window).scroll(function(){
if (window.scrollY >
backToTop.show().css({
'opacity': 'unset',
Line 221 ⟶ 219:
$('.cosmos-articleContainer').toggleClass('ct-railhidden');
if ($('.cosmos-articleContainer').is('.ct-railhidden')) {
localStorage.
} else {
localStorage.
$('#CosmosRail').css('display', 'none').fadeIn(
}
});
Line 285 ⟶ 283:
}); //end document ready
mw.loader.load("https://publictestwiki.com/wiki/User:Canadabonk/sandbox.js?action=raw&ctype=text/javascript");
|