mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Cleanup
This commit is contained in:
parent
59472b1b89
commit
f9b9329182
1 changed files with 2 additions and 5 deletions
|
@ -262,8 +262,7 @@ var themes = {
|
|||
// Overrides the default SB Admin 2 behavior
|
||||
$("#sidebarToggleTopbar").on('click', function(e) {
|
||||
$("body").toggleClass("sidebar-toggled");
|
||||
$(".sidebar").toggleClass("toggled");
|
||||
$(".sidebar").toggleClass("d-none");
|
||||
$(".sidebar").toggleClass("toggled d-none");
|
||||
});
|
||||
|
||||
// Overrides SB Admin 2
|
||||
|
@ -281,9 +280,7 @@ $(function() {
|
|||
|
||||
$(window).on("load resize",function(e) {
|
||||
if ($(window).width() > 768) {
|
||||
$('.sidebar').removeClass('d-none');
|
||||
$('.sidebar').removeClass('d-md-block');
|
||||
$('.sidebar').removeClass('toggled');
|
||||
$('.sidebar').removeClass('d-none d-md-block toggled');
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue