aboutsummaryrefslogtreecommitdiff
path: root/static/components
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-22 01:13:09 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-22 01:13:09 +0100
commitf354437444d1e77a0eb0f3a258f755edfcd3fd21 (patch)
tree74a977c1c17ba47c8ed14ebbd079f9c0099b405f /static/components
parentChange innerHTML to textContent. (diff)
downloadcalp-f354437444d1e77a0eb0f3a258f755edfcd3fd21.tar.gz
calp-f354437444d1e77a0eb0f3a258f755edfcd3fd21.tar.xz
Fix <textarea/> being ignored when editing event.
Diffstat (limited to 'static/components')
-rw-r--r--static/components/vevent-edit.ts4
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;
}