aboutsummaryrefslogtreecommitdiff
path: root/public/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/app.js')
-rw-r--r--public/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/app.js b/public/app.js
index 780bc98..cab053e 100644
--- a/public/app.js
+++ b/public/app.js
@@ -359,7 +359,7 @@ function setPreviewHidden(hidden) {
ghostVisible = hidden
if (!cur) return
const entry = zones.get(cur.id)
- if (entry) for (const z of entry.els) z.classList.toggle("hidden", hidden)
+ if (entry) entry.prevEl.classList.toggle("hide", hidden)
}
function showGhost(p) {
if (!p) return