- commit
- af81ed7902a6e3a98db5a2db314951d8fa963c1f
- parent
- 7473eebf20992a65cf4d6f5880c150308a243103
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-05-06 04:10
do not backup on connection issues
Diffstat
M | static/pad.js | 4 | +++- |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/pad.js b/static/pad.js
@@ -26,7 +26,9 @@ var setText = function(text, start, end) { 26 26 }; 27 27 28 28 var backup = utils.throttled(function() {29 -1 via.store(room, el.value, true);-1 29 if (!el.readonly) { -1 30 via.store(room, el.value, true); -1 31 } 30 32 }, 10000); 31 33 32 34 var sendChanges = utils.throttled(function() {