pad

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

commit
fbf9d5c8531b808f447533e49f259599cfb9863c
parent
93d82e55f15255aff68a5c7852206edbd4e16f24
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-05-05 17:35
fix some old bug

Diffstat

M static/index.js 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -43,7 +43,7 @@ signal.listen(room, function(msg) {
   43    43 		applyChanges(msg.data);
   44    44 	} else if (msg.type === 'request') {
   45    45 		signal.post(room, {sender: id, type: 'text', data: el.value});
   46    -1 	} else if (msg.type === 'text' && !el.text) {
   -1    46 	} else if (msg.type === 'text' && !el.value) {
   47    47 		setText(msg.data, 0, 0);
   48    48 	}
   49    49 });