MediaWiki:Mobile.js: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:




// HIDING ELEMENTS
// ########################


if(
if(
Line 30: Line 32:
}
}


// ########################
if(
window.location.href=="https://www.exagear.wiki/index.php?title=Main_Page(ru)&mobileaction=toggle_view_mobile"
)
{var plusLinks = document.querySelectorAll('.pre-content');
var firstLink = plusLinks[0];
firstLink.setAttribute('class', 'hidethis');
}
// ########################
if(
window.location.href=="https://www.exagear.wiki/index.php?title=Main_Page&mobileaction=toggle_view_mobile"
)
{
var plusLinks = document.querySelectorAll('.pre-content');
var firstLink = plusLinks[0];
firstLink.setAttribute('class', 'hidethis');
}
// ########################