- commit
- 9d35a87128b74e9b852b3ac542adc6c57cbd1bf0
- parent
- 815dbe9b48c5e29ca417479a4371622b469b7adc
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-09-06 12:02
alert on exit
Diffstat
M | static/pad.js | 1 | + |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/pad.js b/static/pad.js
@@ -20,6 +20,7 @@ document.title += ' - ' + location.hash.slice(1); 20 20 var exit = function() { 21 21 el.readOnly = true; 22 22 eventSource.close(); -1 23 alert('Connection lost'); 23 24 }; 24 25 25 26 var sendChanges = utils.throttled(function() {