diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/script.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/script.js b/static/script.js index 7780434c..0f9dace9 100644 --- a/static/script.js +++ b/static/script.js @@ -154,8 +154,6 @@ class EventCreator { event.dataset.time1 = time; event.dataset.time2 = time; - event.style.pointerEvents = "none"; - /* ---------------------------------------- */ this.appendChild(event); @@ -170,6 +168,8 @@ class EventCreator { /* Makes all current events transparent when dragging over them. Without this weird stuff happens when moving over them + + This includes ourselves. */ for (let e of this.children) { e.style.pointerEvents = "none"; |