fix incomplete 'onAbort' block

This commit is contained in:
ansuz
2016-03-04 11:07:12 +01:00
parent 52fe892bae
commit 5e1566eaec

View File

@@ -296,15 +296,15 @@ define([
abort(socket, realtime); abort(socket, realtime);
if (config.onAbort) { if (config.onAbort) {
config.onAbort({ config.onAbort({
socket socket: socket
}); });
} }
if (socketChecker) { clearInterval(socketChecker); } if (socketChecker) { clearInterval(socketChecker); }
} }
} else { } else {
// TODO // it's working as expected, continue
} }
},200); }, 200);
bindAllEvents(textarea, doc, onEvent, false); bindAllEvents(textarea, doc, onEvent, false);