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