mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
fix preview not working when toggled multiple times
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -613,6 +613,9 @@
|
||||
isPreviewVisible = !isPreviewVisible;
|
||||
if (isPreviewVisible) {
|
||||
updatePreview();
|
||||
} else {
|
||||
previewFrame = null;
|
||||
if (shadowContainer) shadowContainer.innerHTML = '';
|
||||
}
|
||||
}}
|
||||
class="h-8 border-2 rounded-md w-36 px-3 text-center cursor-pointer hover:opacity-80 flex items-center justify-center gap-2 transition-colors duration-200"
|
||||
|
||||
Reference in New Issue
Block a user