full screen navbar for small devices.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-11 23:04:33 -07:00
parent 75d610200b
commit e006c158fc
4 changed files with 148 additions and 33 deletions

View File

@@ -130,4 +130,16 @@ function initDatePicker(input, futureOnly) {
autoclose: true
});
}
}
function showMobileNav() {
$(".lubelogger-mobile-nav").addClass("lubelogger-mobile-nav-show");
}
function hideMobileNav() {
$(".lubelogger-mobile-nav").removeClass("lubelogger-mobile-nav-show");
}
function bindWindowResize() {
$(window).resize(function () {
hideMobileNav();
});
}