pad

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

commit
fa7581f9b9b246c4196a74ec8a5b0e4673fabefc
parent
de843b3535e8a9355f12c288365ecc39c86e94b4
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-05-03 18:48
add toom to title

Diffstat

M index.html 2 +-
M static/index.js 2 ++

2 files changed, 3 insertions, 1 deletions


diff --git a/index.html b/index.html

@@ -2,7 +2,7 @@
    2     2 <html>
    3     3 <head>
    4     4 	<meta charset="utf-8" />
    5    -1 	<title>duct pad</title>
   -1     5 	<title>pad</title>
    6     6 	<meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src http://via.ce9e.org">
    7     7 	<meta name="viewport" content="width=device-width" />
    8     8 	<link rel="stylesheet" href="/static/style.css">

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

@@ -9,6 +9,8 @@ var old = el.value;
    9     9 
   10    10 var localChanges = [];
   11    11 
   -1    12 document.title += ' - ' + room;
   -1    13 
   12    14 var applyChanges = function(changes) {
   13    15 	var text = el.value;
   14    16 	var selection = [el.selectionStart, el.selectionEnd];