pad

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

commit
5ac276ac9a76a78b62d227e1fb43b2fb5e361e83
parent
72da842c5087266566ea6819f785fca68cac8909
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-06-06 12:27
refactor: return promise on consolitdate()

Diffstat

M static/pad.js 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -103,7 +103,7 @@ var consolidate = function(lastEventId) {
  103   103 	}
  104   104 
  105   105 	var data = [id, 'changes', [diff.diff('', text, 3)]];
  106    -1 	fetch(url, {
   -1   106 	return fetch(url, {
  107   107 		method: 'PUT',
  108   108 		body: JSON.stringify(data),
  109   109 		headers: {'Last-Event-ID': lastEventId},