mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Merge pull request #6497 from SylvainCorlay/_ws_opened
status_started.Kernel was never triggered
This commit is contained in:
commit
46cefe28a9
@ -219,7 +219,7 @@ define([
|
||||
var channels = [this.shell_channel, this.iopub_channel, this.stdin_channel];
|
||||
for (var i=0; i < channels.length; i++) {
|
||||
// if any channel is not ready, don't trigger event.
|
||||
if ( channels[i].readyState == WebSocket.OPEN ) return;
|
||||
if ( channels[i].readyState !== WebSocket.OPEN ) return;
|
||||
}
|
||||
// all events ready, trigger started event.
|
||||
this.events.trigger('status_started.Kernel', {kernel: this});
|
||||
|
Loading…
Reference in New Issue
Block a user