From c4006f1439f664957827ef100812ed1761a58354 Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Thu, 18 Sep 2014 17:23:50 +0000 Subject: [PATCH] status_started.Kernel was never triggered --- IPython/html/static/services/kernels/js/kernel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/static/services/kernels/js/kernel.js b/IPython/html/static/services/kernels/js/kernel.js index d174e655b..9b4937a22 100644 --- a/IPython/html/static/services/kernels/js/kernel.js +++ b/IPython/html/static/services/kernels/js/kernel.js @@ -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});