mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Cleanup
This commit is contained in:
parent
59472b1b89
commit
f9b9329182
@ -262,8 +262,7 @@ var themes = {
|
|||||||
// Overrides the default SB Admin 2 behavior
|
// Overrides the default SB Admin 2 behavior
|
||||||
$("#sidebarToggleTopbar").on('click', function(e) {
|
$("#sidebarToggleTopbar").on('click', function(e) {
|
||||||
$("body").toggleClass("sidebar-toggled");
|
$("body").toggleClass("sidebar-toggled");
|
||||||
$(".sidebar").toggleClass("toggled");
|
$(".sidebar").toggleClass("toggled d-none");
|
||||||
$(".sidebar").toggleClass("d-none");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Overrides SB Admin 2
|
// Overrides SB Admin 2
|
||||||
@ -281,9 +280,7 @@ $(function() {
|
|||||||
|
|
||||||
$(window).on("load resize",function(e) {
|
$(window).on("load resize",function(e) {
|
||||||
if ($(window).width() > 768) {
|
if ($(window).width() > 768) {
|
||||||
$('.sidebar').removeClass('d-none');
|
$('.sidebar').removeClass('d-none d-md-block toggled');
|
||||||
$('.sidebar').removeClass('d-md-block');
|
|
||||||
$('.sidebar').removeClass('toggled');
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user