From 2e684fd427097965834bd5f1f22196be99b82757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 11 Aug 2020 19:49:28 +0200 Subject: Allow events to enter edit mode after creation. --- static/script.js | 1 + 1 file changed, 1 insertion(+) (limited to 'static/script.js') diff --git a/static/script.js b/static/script.js index be19dc13..37f86549 100644 --- a/static/script.js +++ b/static/script.js @@ -428,6 +428,7 @@ function place_in_edit_mode (event) { let input = makeElement ('input', { type: "time", required: true, + value: field.innerText, onchange: function (e) { /* Only update datetime when the input is filled out */ -- cgit v1.2.3