You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (isWindows) {
// if we are on windows OS we activate the perfectScrollbar function
var ps = new PerfectScrollbar('.sidebar');
var ps = new PerfectScrollbar('.sidebar-wrapper');
var ps2 = new PerfectScrollbar('.main-panel');
$('html').addClass('perfect-scrollbar-on');
Using of elements for PerfectScrollbar is forced in paper-dashboard.js
(function() {
isWindows = navigator.platform.indexOf('Win') > -1 ? true : false;
if (isWindows) {
// if we are on windows OS we activate the perfectScrollbar function
var ps = new PerfectScrollbar('.sidebar');
var ps = new PerfectScrollbar('.sidebar-wrapper');
var ps2 = new PerfectScrollbar('.main-panel');
$('html').addClass('perfect-scrollbar-on');
} else {
$('html').addClass('perfect-scrollbar-off');
}
})()
In situations like where we do not want sidebar or sidebar-wrapper or main-panel, it throws error
The text was updated successfully, but these errors were encountered: