fixing improper use of tertiary if that hopefully resolves issue #1

v1.18.x
Julian Lam 12 years ago
parent e32111c8bc
commit 4334e23c4d

@ -12,7 +12,7 @@ var socket,
API_URL = data.api_url;
config = data;
socket = io.connect('http://' + config.socket.address + config.socket.port? ':' + config.socket.port : '');
socket = io.connect(config.socket.address + (config.socket.port ? ':' + config.socket.port : ''));
var reconnecting = false;
var reconnectTries = 0;

Loading…
Cancel
Save