Commit df8b460b authored by Janne Koschinski's avatar Janne Koschinski

Minor UI fix

parent ad86f8ec
......@@ -79,7 +79,7 @@ save.addEventListener("click", (e) => {
doSave();
});
window.onbeforeunload = (e) => {
window.onbeforeunload = () => {
const state = currentState();
if (lastSaved !== null && lastSaved !== state) {
return "Your changes have not been saved. Are you sure you want to leave?"
......
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