[r34] reduce jquery

This commit is contained in:
Shish 2023-12-30 13:47:33 +00:00
parent ab4c58e17e
commit c899935012

View file

@ -7,11 +7,11 @@ document.addEventListener('DOMContentLoaded', () => {
var navHidden = false;
function toggleNav() {
if(navHidden) {
$('BODY').removeClass('navHidden');
document.body.classList.remove('navHidden');
shm_cookie_set("ui-shownav", "true");
}
else {
$('BODY').addClass('navHidden');
document.body.classList.add('navHidden');
shm_cookie_set("ui-shownav", "false");
}
navHidden = !navHidden;