Merge pull request #904 from 0xMatt/master

Improve tree click event handler
This commit is contained in:
Abdullah Almsaeed 2016-03-13 21:02:41 -04:00
commit dbfd0322c0

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;
$(menu).on('click', 'li a', function (e) {
$(document).on('click', menu + ' li a', function (e) {
//Get the clicked link and the next element
var $this = $(this);
var checkElement = $this.next();