diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-14 13:03:16 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-14 13:03:28 +0200 |
commit | 26b44dd3a8a6baf03fe771748dead242d80df172 (patch) | |
tree | a38ed6c1d30b90589da865d25782c977a78d8ba8 | |
parent | Add TODO about VALUE in some cases. (diff) | |
download | calp-26b44dd3a8a6baf03fe771748dead242d80df172.tar.gz calp-26b44dd3a8a6baf03fe771748dead242d80df172.tar.xz |
Remove surpurflous statement.
-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"; |