fix #2: work in Chrome/Chromium
This commit is contained in:
parent
9814cc2f81
commit
ce9ac7ed3a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function getWSPath() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var WS = new WebSocket(getWSPath(), ['soap', 'xmpp']);
|
var WS = new WebSocket(getWSPath());
|
||||||
|
|
||||||
WS.onerror = function(error) {
|
WS.onerror = function(error) {
|
||||||
console.log('WebSocket Error ' + error);
|
console.log('WebSocket Error ' + error);
|
||||||
|
|
Loading…
Reference in a new issue