mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Merge pull request #1952 from minrk/wsclose
avoid duplicate "Websockets closed" dialog on ws close
This commit is contained in:
commit
5a57dc5a1a
@ -98,8 +98,10 @@ var IPython = (function (IPython) {
|
||||
" or if the url does not look right, there could be an error in the" +
|
||||
" server's configuration.";
|
||||
} else {
|
||||
this.start_channels();
|
||||
}
|
||||
IPython.notification_widget.set_message('Reconnecting Websockets', 1000);
|
||||
this.start_channels();
|
||||
return;
|
||||
}
|
||||
var dialog = $('<div/>');
|
||||
dialog.html(msg);
|
||||
parent_item.append(dialog);
|
||||
|
Loading…
Reference in New Issue
Block a user