Merge pull request #729 from Yellowen/master

Sidebar autoclose on turbolinks fixed. close #718
pull/728/merge
Abdullah Almsaeed 2015-10-16 19:43:22 -04:00
commit 250fa7bbd7
1 changed files with 1 additions and 1 deletions

2
dist/js/app.js vendored
View File

@ -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();