mirror of https://github.com/ColorlibHQ/AdminLTE
Improve click event handler
parent
93e99de603
commit
f284016fa8
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue