mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-10 05:06:18 +00:00
fix: Email countdown only starts once
This commit is contained in:
@@ -10,10 +10,11 @@
|
|||||||
let enableInputSeconds = 15;
|
let enableInputSeconds = 15;
|
||||||
let keyword: string = '';
|
let keyword: string = '';
|
||||||
|
|
||||||
let interval: NodeJS.Timeout;
|
let interval: number | undefined;
|
||||||
function closeDialog() {
|
function closeDialog() {
|
||||||
showEmailDialog = false;
|
showEmailDialog = false;
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
|
interval = undefined;
|
||||||
enableInputSeconds = 15;
|
enableInputSeconds = 15;
|
||||||
keyword = '';
|
keyword = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user