avoid double websocket-close message

This commit is contained in:
MinRK 2012-06-13 14:52:39 -07:00
parent ea6e18abf3
commit 654fed95be

View File

@ -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);