fix(socket) reconnect

This commit is contained in:
coderaiser 2013-08-19 10:07:23 +00:00
parent 4afbd0c57c
commit 09bff30c55

View file

@ -16,7 +16,9 @@ var CloudCmd, Util, DOM, io;
});
function connect() {
socket = io.connect(CloudCmd.HOST);
socket = io.connect(CloudCmd.HOST, {
reconnect: true
});
CloudCmd.Socket = socket;