diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-11 19:39:37 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-11 19:39:52 +0200 |
commit | ad78b193271abb6df486d3acfd7ab94f51cd101c (patch) | |
tree | 5dc061066f266aa650720db56768291f6c4842f9 /static/script.js | |
parent | HTML Created events now have a description. (diff) | |
download | calp-ad78b193271abb6df486d3acfd7ab94f51cd101c.tar.gz calp-ad78b193271abb6df486d3acfd7ab94f51cd101c.tar.xz |
Can create events without descriptions again.
Diffstat (limited to 'static/script.js')
-rw-r--r-- | static/script.js | 3 |
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, }); |