From 5e1566eaecf016670d235cd4100c8cb16ca952a9 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 4 Mar 2016 11:07:12 +0100 Subject: [PATCH] fix incomplete 'onAbort' block --- www/common/realtime-input.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/common/realtime-input.js b/www/common/realtime-input.js index 394670f53..0fa9afb1d 100644 --- a/www/common/realtime-input.js +++ b/www/common/realtime-input.js @@ -296,15 +296,15 @@ define([ abort(socket, realtime); if (config.onAbort) { config.onAbort({ - socket + socket: socket }); } if (socketChecker) { clearInterval(socketChecker); } } } else { - // TODO + // it's working as expected, continue } - },200); + }, 200); bindAllEvents(textarea, doc, onEvent, false);