// did you know that i'm fucking braindead

This commit is contained in:
flash 2019-06-05 17:11:12 +02:00
parent 63d250882f
commit 6d543f4b2b

View file

@ -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;
}
});