##// END OF EJS Templates
add missing `that = this`
Min RK -
Show More
@@ -597,12 +597,13 b' define(['
597 597 /**
598 598 * Remove the deleted notebook.
599 599 */
600 var that = this;
600 601 $( ":data(path)" ).each(function() {
601 602 var element = $(this);
602 if (element.data("path") == path) {
603 if (element.data("path") === path) {
603 604 element.remove();
604 605 events.trigger('notebook_deleted.NotebookList');
605 this._selection_changed();
606 that._selection_changed();
606 607 }
607 608 });
608 609 };
General Comments 0
You need to be logged in to leave comments. Login now