mirror of https://github.com/ColorlibHQ/AdminLTE
Updated docs
parent
e22fbd6a15
commit
7d4d182a40
|
@ -222,7 +222,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="callout callout-danger">
|
<div class="callout callout-danger">
|
||||||
<h4>Heads Up!</h4>
|
<h4>Heads Up!</h4>
|
||||||
The current AdminLTE 2.0 version is in its alpha stage and should not be used in
|
The current AdminLTE 2.0 version is in its Beta stage and should not be used in
|
||||||
production. It's however available for testing and to get developers familiar with
|
production. It's however available for testing and to get developers familiar with
|
||||||
the new syntax.
|
the new syntax.
|
||||||
</div>
|
</div>
|
||||||
|
@ -1770,9 +1770,7 @@ AdminLTE/
|
||||||
$(".sidebar-menu li a").click(function () {
|
$(".sidebar-menu li a").click(function () {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var target = $this.attr("href");
|
var target = $this.attr("href");
|
||||||
$(this).parents("ul").find(".active").removeClass("active");
|
if (typeof target === 'string') {
|
||||||
$(this).parent('li').addClass('active');
|
|
||||||
if (typeof target == 'string') {
|
|
||||||
$("body").animate({
|
$("body").animate({
|
||||||
scrollTop: ($(target).offset().top - 32) + "px"
|
scrollTop: ($(target).offset().top - 32) + "px"
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
Loading…
Reference in New Issue