pad

minimal etherpad alternative  https://pad.ce9e.org
git clone https://git.ce9e.org/pad.git

commit
8f319bb829458298bfefb2ff8632ddf71b1bd53f
parent
eb34f1a032843db8bcee2f2ce1ca09f0dad0dc5d
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-06-19 00:43
Revert "alert on exit"

This reverts commit 9d35a87128b74e9b852b3ac542adc6c57cbd1bf0.

they are helpful, but also annoying

Diffstat

M static/pad.js 7 ++-----

1 files changed, 2 insertions, 5 deletions


diff --git a/static/pad.js b/static/pad.js

@@ -19,11 +19,8 @@ var lastEventId = 0;
   19    19 document.title += ' - ' + location.hash.slice(1);
   20    20 
   21    21 var exit = function() {
   22    -1 	if (!el.readOnly) {
   23    -1 		el.readOnly = true;
   24    -1 		eventSource.close();
   25    -1 		alert('Connection lost');
   26    -1 	}
   -1    22 	el.readOnly = true;
   -1    23 	eventSource.close();
   27    24 };
   28    25 
   29    26 var fetchJSON = function(res, options) {