aboutsummaryrefslogtreecommitdiff
path: root/static/script.js
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-05-16 21:57:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-05-16 21:57:57 +0200
commit356cf51a924a7ba0cbf23529abd9d0a7c0cadd15 (patch)
treeb136bf0cdb6702890e12cae8e8071a6d4763b9cb /static/script.js
parents/get/get_callback_list/ (diff)
downloadcalp-356cf51a924a7ba0cbf23529abd9d0a7c0cadd15.tar.gz
calp-356cf51a924a7ba0cbf23529abd9d0a7c0cadd15.tar.xz
Generall callbacks works again.
Diffstat (limited to '')
-rw-r--r--static/script.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/script.js b/static/script.js
index d809cc25..6a561757 100644
--- a/static/script.js
+++ b/static/script.js
@@ -115,7 +115,7 @@ class EventCreator {
this.appendChild(event);
/* requires that event is child of an '.event-container'. */
- event.properties = new VComponent(
+ new VComponent(
event,
wide_element=wide_element);
// bind_properties(event, wide_element);
@@ -320,9 +320,9 @@ window.onload = function () {
/* Bind all vcomponent properties into javascript. */
if (el.closest(".longevents")) {
- el.properties = new VComponent(el, true);
+ new VComponent(el, true);
} else {
- el.properties = new VComponent(el, true);
+ new VComponent(el, true);
}
}