From 605f82b6cb9bb35715dcbc20ded2d6af32a9ed35 Mon Sep 17 00:00:00 2001 From: razvanaldea89 Date: Fri, 22 Feb 2019 13:39:30 +0200 Subject: [PATCH] fixed sidebar menu mousewheel speed --- build/js/custom.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/js/custom.js b/build/js/custom.js index 866a3182..2b106238 100644 --- a/build/js/custom.js +++ b/build/js/custom.js @@ -44,6 +44,7 @@ /* SIDEBAR */ + // fix for dynamic tables function setContentHeight() { var CURRENT_URL = window.location.href.split("#")[0].split("?")[0], @@ -209,7 +210,11 @@ $(document).ready(function () { $('.menu_fixed').mCustomScrollbar({ autoHideScrollbar: true, theme: 'minimal', - mouseWheel: {preventDefault: true} + scrollInertia: 600, + mouseWheel: { + preventDefault: true, + scrollAmount: 100 + } }); } });