From 0159d06b249bfeab0d4299f8ace9cd234459fa89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Guillot?= Date: Fri, 2 Dec 2016 14:48:17 +0100 Subject: [PATCH] Fixed a typo It works because it's an alias. But it might be removed without warning. While I'm here, being able to deactivate the treeview on the sidebar would be super nice, or have it as an _opt-in_ using a CSS class like *sidebar-as-tree*. --- dist/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/js/app.js b/dist/js/app.js index 5dc09ee2c..5bb6e24f2 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -294,7 +294,7 @@ function _init() { //Destroy if it exists $(".sidebar").slimScroll({destroy: true}).height("auto"); //Add slimscroll - $(".sidebar").slimscroll({ + $(".sidebar").slimScroll({ height: ($(window).height() - $(".main-header").height()) + "px", color: "rgba(0,0,0,0.2)", size: "3px"