mirror of https://github.com/ColorlibHQ/AdminLTE
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*.pull/1264/head
parent
6e2f5b0708
commit
0159d06b24
|
@ -294,7 +294,7 @@ function _init() {
|
||||||
//Destroy if it exists
|
//Destroy if it exists
|
||||||
$(".sidebar").slimScroll({destroy: true}).height("auto");
|
$(".sidebar").slimScroll({destroy: true}).height("auto");
|
||||||
//Add slimscroll
|
//Add slimscroll
|
||||||
$(".sidebar").slimscroll({
|
$(".sidebar").slimScroll({
|
||||||
height: ($(window).height() - $(".main-header").height()) + "px",
|
height: ($(window).height() - $(".main-header").height()) + "px",
|
||||||
color: "rgba(0,0,0,0.2)",
|
color: "rgba(0,0,0,0.2)",
|
||||||
size: "3px"
|
size: "3px"
|
||||||
|
|
Loading…
Reference in New Issue