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();