aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Layout.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Layout.mjs')
-rw-r--r--src/Layout.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Layout.mjs b/src/Layout.mjs
index 20e8a23..861f56b 100644
--- a/src/Layout.mjs
+++ b/src/Layout.mjs
@@ -36,7 +36,7 @@ export class OverlayLayout extends Layout {
36 draggablePart.onmouseup = (e) => { 36 draggablePart.onmouseup = (e) => {
37 if (e.button === 1) { 37 if (e.button === 1) {
38 // Hide block with middle click 38 // Hide block with middle click
39 draggableBlock.style.display = "none"; 39 draggableBlock.setAttribute("data-hide", "true")
40 } 40 }
41 } 41 }
42 42