Merge pull request #729 from Yellowen/master
Sidebar autoclose on turbolinks fixed. close #718
This commit is contained in:
2
dist/js/app.js
vendored
2
dist/js/app.js
vendored
@@ -388,7 +388,7 @@ function _init() {
|
||||
$.AdminLTE.tree = function (menu) {
|
||||
var _this = this;
|
||||
var animationSpeed = $.AdminLTE.options.animationSpeed;
|
||||
$(document).on('click', menu + ' li a', function (e) {
|
||||
$(menu).on('click', 'li a', function (e) {
|
||||
//Get the clicked link and the next element
|
||||
var $this = $(this);
|
||||
var checkElement = $this.next();
|
||||
|
||||
Reference in New Issue
Block a user