From 51e910b7ca619e7890ef63978ee6e3470dc0b9e3 Mon Sep 17 00:00:00 2001 From: danagilliann Date: Tue, 3 Apr 2018 20:10:12 -0400 Subject: [PATCH 1/2] solved waiting asterisk --- notebook/static/notebook/js/codecell.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/notebook/static/notebook/js/codecell.js b/notebook/static/notebook/js/codecell.js index 5451f676c5..aae370efe2 100644 --- a/notebook/static/notebook/js/codecell.js +++ b/notebook/static/notebook/js/codecell.js @@ -203,6 +203,12 @@ define([ this.element.focusout( function() { that.auto_highlight(); } ); + + this.events.on('kernel_restarting.Kernel', function() { + if (that.input_prompt_number === '*') { + that.set_input_prompt(''); + } + }); }; From e4334e631cbffa3f71448afddb08250edb260a44 Mon Sep 17 00:00:00 2001 From: danagilliann Date: Wed, 4 Apr 2018 13:56:37 -0400 Subject: [PATCH 2/2] empty space to cell --- notebook/static/notebook/js/codecell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/codecell.js b/notebook/static/notebook/js/codecell.js index aae370efe2..7438f32b76 100644 --- a/notebook/static/notebook/js/codecell.js +++ b/notebook/static/notebook/js/codecell.js @@ -206,7 +206,7 @@ define([ this.events.on('kernel_restarting.Kernel', function() { if (that.input_prompt_number === '*') { - that.set_input_prompt(''); + that.set_input_prompt(); } }); };