removed trial preview for numbering

This commit is contained in:
Bryan Van Deusen
2026-01-22 23:29:00 -05:00
parent c620c2e041
commit 82cf3b782b
3 changed files with 0 additions and 60 deletions
-26
View File
@@ -29,8 +29,6 @@
dom.tagInput = document.getElementById('bulkTagInput');
dom.autocomplete = document.getElementById('bulkTagAutocomplete');
dom.commonTags = document.getElementById('commonTagsList');
dom.floatingPreview = document.getElementById('floatingPreview');
dom.floatingPreviewImage = document.getElementById('floatingPreviewImage');
if (!dom.selectBtn || !dom.panel) return;
@@ -66,30 +64,6 @@
}
}
});
// Preview on hover in select mode
document.addEventListener('mouseenter', handlePreviewShow, true);
document.addEventListener('mouseleave', handlePreviewHide, true);
}
function handlePreviewShow(e) {
if (!state.isSelectMode || !dom.floatingPreview) return;
const item = e.target.closest('.img-clickable');
if (!item) return;
const fullSrc = item.dataset.full;
if (fullSrc && dom.floatingPreviewImage) {
dom.floatingPreviewImage.src = fullSrc;
dom.floatingPreview.classList.add('active');
}
}
function handlePreviewHide(e) {
if (!dom.floatingPreview) return;
const item = e.target.closest('.img-clickable');
if (!item) return;
dom.floatingPreview.classList.remove('active');
}
function toggleSelectMode() {