1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-22 01:02:23 -05:00

Don't always set transport to websocket

This commit is contained in:
Lance Stout 2014-02-26 13:27:33 -08:00
parent f0e627338e
commit 1e60367438

View File

@ -9,7 +9,7 @@ $('#loginbox form').on('submit', function (e) {
if (connURL.indexOf('http') === 0) {
boshURL = connURL;
transport = 'bosh';
} else {
} else if (connURL.indexOf('ws') === 0) {
wsURL = connURL;
transport = 'websocket';
}