diff --git a/src/client/index.html b/src/client/index.html
index 0892848f8..33b280951 100644
--- a/src/client/index.html
+++ b/src/client/index.html
@@ -442,10 +442,6 @@
document.documentElement.classList.remove("preload");
});
});
- window.addEventListener("beforeunload", function (e) {
- e.preventDefault();
- e.returnValue = "Are you sure you want to leave?";
- });