mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 15:37:56 +01:00
replace deprecated live method
This commit is contained in:
parent
5f9b98324d
commit
7d0e4dc35a
@ -183,7 +183,7 @@ $(function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
//live method is deprecated?
|
//live method is deprecated?
|
||||||
$('#foldersContainer li').live('click', function (event) {
|
$(document).on('click', '#foldersContainer li', function (event) {
|
||||||
// Deselect previous option ...
|
// Deselect previous option ...
|
||||||
$('#foldersContainer li').removeClass('active');
|
$('#foldersContainer li').removeClass('active');
|
||||||
$('#foldersContainer i').removeClass('icon-white');
|
$('#foldersContainer i').removeClass('icon-white');
|
||||||
|
Loading…
Reference in New Issue
Block a user