mirror of https://github.com/xwiki-labs/cryptpad
don't call toolbar from within realtime-input.js
This commit is contained in:
parent
e8469ae1bb
commit
d7b34cf6be
|
@ -105,7 +105,6 @@ define([
|
||||||
// bind abort to onLeaving
|
// bind abort to onLeaving
|
||||||
var abort = function (socket, realtime) {
|
var abort = function (socket, realtime) {
|
||||||
realtime.abort();
|
realtime.abort();
|
||||||
realtime.toolbar.failed();
|
|
||||||
try { socket._socket.close(); } catch (e) { warn(e); }
|
try { socket._socket.close(); } catch (e) { warn(e); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue