aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 19:39:37 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 19:39:52 +0200
commitad78b193271abb6df486d3acfd7ab94f51cd101c (patch)
tree5dc061066f266aa650720db56768291f6c4842f9 /static
parentHTML Created events now have a description. (diff)
downloadcalp-ad78b193271abb6df486d3acfd7ab94f51cd101c.tar.gz
calp-ad78b193271abb6df486d3acfd7ab94f51cd101c.tar.xz
Can create events without descriptions again.
Diffstat (limited to 'static')
-rw-r--r--static/script.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js
index c2ea07c1..be19dc13 100644
--- a/static/script.js
+++ b/static/script.js
@@ -478,7 +478,8 @@ function place_in_edit_mode (event) {
let description = descs[0];
let textarea = makeElement('textarea', {
name: "description",
- placeholder: description.innerText,
+ placeholder: "Description (optional)",
+ innerHTML: description.innerText,
required: false,
});