replace deprecated live method

This commit is contained in:
Ezequiel Bergamaschi 2014-01-30 04:34:25 -03:00 committed by Ezequiel Bergamaschi
parent 5f9b98324d
commit 7d0e4dc35a

View File

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