Commit 79bef23d authored by Janne Koschinski's avatar Janne Koschinski

Minor UI fix

parent abc9295b
......@@ -83,6 +83,7 @@ window.addEventListener("beforeunload", (e) => {
const state = currentState();
if (lastSaved !== null && lastSaved !== state) {
const message = "Your changes have not been saved. Are you sure you want to leave?";
e.returnValue = message;
return message;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment