From 2d42e62e85317374435a172476fed03ca36efd59 Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 21 Feb 2017 12:08:54 +0100 Subject: [PATCH] Don't use jquery-ui data selector since jquery-ui isn't available iterate over list items instead (result is the same) --- notebook/static/tree/js/notebooklist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index f9724c0a7..94525e6d6 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -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();