diff --git a/notebook/static/notebook/js/notificationarea.js b/notebook/static/notebook/js/notificationarea.js index 4b615248a..8f010c9e5 100644 --- a/notebook/static/notebook/js/notificationarea.js +++ b/notebook/static/notebook/js/notificationarea.js @@ -35,7 +35,7 @@ define([ */ NotebookNotificationArea.prototype.init_kernel_notification_widget = function () { var that = this; - var knw = this.new_notification_widget('kernel'); + var knw = this.widget('kernel'); var $kernel_ind_icon = $("#kernel_indicator_icon"); var $modal_ind_icon = $("#modal_indicator"); var $readonly_ind_icon = $('#readonly-indicator'); @@ -284,7 +284,7 @@ define([ * @method init_notebook_notification_widget */ NotebookNotificationArea.prototype.init_notebook_notification_widget = function () { - var nnw = this.new_notification_widget('notebook'); + var nnw = this.widget('notebook'); // Notebook events this.events.on('notebook_loading.Notebook', function () { @@ -346,7 +346,7 @@ define([ * @method init_marked_cells_notification_widget */ NotebookNotificationArea.prototype.init_marked_cells_notification_widget = function () { - var mcnw = this.new_notification_widget('marked_cells'); + var mcnw = this.widget('marked_cells'); this.events.on('marked_offscreen.Cell', function (evt, num) { if (num === 0) { diff --git a/notebook/static/notebook/js/textcell.js b/notebook/static/notebook/js/textcell.js index e5bde67be..0b0e4ea49 100644 --- a/notebook/static/notebook/js/textcell.js +++ b/notebook/static/notebook/js/textcell.js @@ -286,6 +286,9 @@ define([ .addClass('anchor-link') .attr('href', '#' + hash) .text('ΒΆ') + .on('click',function(){ + setTimeout(function(){that.unrender(); that.render()}, 100) + }) ); }); // links in markdown cells should open in new tabs