diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-22 01:13:09 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-22 01:13:09 +0100 |
commit | f354437444d1e77a0eb0f3a258f755edfcd3fd21 (patch) | |
tree | 74a977c1c17ba47c8ed14ebbd079f9c0099b405f | |
parent | Change innerHTML to textContent. (diff) | |
download | calp-f354437444d1e77a0eb0f3a258f755edfcd3fd21.tar.gz calp-f354437444d1e77a0eb0f3a258f755edfcd3fd21.tar.xz |
Fix <textarea/> being ignored when editing event.
Diffstat (limited to '')
-rw-r--r-- | static/components/vevent-edit.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/components/vevent-edit.ts b/static/components/vevent-edit.ts index e393b1ce..4408cbb8 100644 --- a/static/components/vevent-edit.ts +++ b/static/components/vevent-edit.ts @@ -61,7 +61,9 @@ class ComponentEdit extends ComponentVEvent { throw 'No object with uid ' + this.uid } if (!(el instanceof HTMLInputElement - || el instanceof DateTimeInput)) { + || el instanceof DateTimeInput + || el instanceof HTMLTextAreaElement + )) { console.log(el, 'not an HTMLInputElement'); return; } |