Remove obsolete parameter to WebSocket constructor
This commit is contained in:
parent
05e9523cba
commit
79fa3c7b0f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ Zotero.Streamer_Module.prototype = {
|
|||
|
||||
var window = Cc["@mozilla.org/appshell/appShellService;1"]
|
||||
.getService(Ci.nsIAppShellService).hiddenDOMWindow;
|
||||
this._socket = new window.WebSocket(url, "zotero-streaming-api-v1");
|
||||
this._socket = new window.WebSocket(url);
|
||||
var deferred = Zotero.Promise.defer();
|
||||
|
||||
this._socket.onopen = () => {
|
||||
|
|
Loading…
Reference in a new issue