mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Turn off perfect-scrollbar
This commit is contained in:
6
public/js/material-dashboard.js
vendored
6
public/js/material-dashboard.js
vendored
@@ -20,11 +20,11 @@
|
|||||||
|
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
// if we are on windows OS we activate the perfectScrollbar function
|
// if we are on windows OS we activate the perfectScrollbar function
|
||||||
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar();
|
//$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar();
|
||||||
|
|
||||||
$('html').addClass('perfect-scrollbar-on');
|
//$('html').addClass('perfect-scrollbar-on');
|
||||||
} else {
|
} else {
|
||||||
$('html').addClass('perfect-scrollbar-off');
|
//$('html').addClass('perfect-scrollbar-off');
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user