From 047633c2ceddccd0fda607024c85a5bc8f1cc4aa Mon Sep 17 00:00:00 2001 From: Mathieu Lagace Date: Sun, 22 Dec 2019 13:10:57 -0500 Subject: [PATCH] Turn on perfect-scrollbar --- public/js/material-dashboard.js | 6 +++--- resources/views/admin/schedule/event/add.blade.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/js/material-dashboard.js b/public/js/material-dashboard.js index b7986449..30fc10b9 100644 --- a/public/js/material-dashboard.js +++ b/public/js/material-dashboard.js @@ -20,11 +20,11 @@ if (isWindows) { // 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 { - //$('html').addClass('perfect-scrollbar-off'); + $('html').addClass('perfect-scrollbar-off'); } })(); diff --git a/resources/views/admin/schedule/event/add.blade.php b/resources/views/admin/schedule/event/add.blade.php index db23c9cf..4a80d822 100644 --- a/resources/views/admin/schedule/event/add.blade.php +++ b/resources/views/admin/schedule/event/add.blade.php @@ -124,6 +124,6 @@ ) @endsection \ No newline at end of file