mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-23 12:49:41 +08:00
avoid double websocket-close message
This commit is contained in:
parent
ea6e18abf3
commit
654fed95be
@ -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