// did you know that i'm fucking braindead
This commit is contained in:
parent
63d250882f
commit
6d543f4b2b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function forumPostingInit(): void
|
|||
window.addEventListener("beforeunload", (e) => {
|
||||
if (postingText.value.length > 0) {
|
||||
const message: string = 'Are you sure you want to close the tab?';
|
||||
e.returnValue = 'Are you sure you want to close the tab?';
|
||||
e.returnValue = message;
|
||||
return message;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue