diff --git a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp index 3ccfc16f..6426b004 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp @@ -230,7 +230,6 @@ $("#actionButtons .tags").click(function() { }); - $('#foldersContainer li').click(function(event) { // Deselect previous option ... $('#foldersContainer li').removeClass('active'); @@ -238,7 +237,8 @@ // Select the new item ... var dataTable = $('#mindmapListTable').dataTable(); - $(this).addClass('active').filter('i').addClass('icon-white'); + $(this).addClass('active'); + $('#foldersContainer .active i').addClass('icon-white'); // Reload the table data ... dataTable.fnReloadAjax("../service/maps?q=" + $(this).attr('data-filter')); @@ -274,8 +274,8 @@