Don't use jquery-ui data selector

since jquery-ui isn't available

iterate over list items instead (result is the same)
pull/2211/head
Min RK 9 years ago
parent b683d6f607
commit 2d42e62e85

@ -1024,7 +1024,7 @@ define([
* Remove the deleted notebook.
*/
var that = this;
$( ":data(path)" ).each(function() {
$(".list_item").each(function() {
var element = $(this);
if (element.data("path") === path) {
element.remove();

Loading…
Cancel
Save