Fixed two bugs: selected cards staying visible after preview opens, and stale history results showing when a new scan starts.
This commit is contained in:
1 parent
ce5a5f1cbb
commit
78fb406422
4 files changed
+16
-1
No files matched your search
@@ -93,6 +93,7 @@ async function openPreview(f) {
|
||||
panel.classList.remove('hidden');
|
||||
const _savedW = sessionStorage.getItem('gdpr_preview_width');
|
||||
if (_savedW) panel.style.width = _savedW + 'px';
|
||||
if (cardEl) requestAnimationFrame(() => cardEl.scrollIntoView({ behavior: 'smooth', block: 'nearest' }));
|
||||
title.textContent = f.name;
|
||||
frame.style.display = 'none';
|
||||
loading.style.display = 'flex';
|
||||
|
||||
Reference in new issue
Block a user