diff --git a/shellinabox/root_page.html b/shellinabox/root_page.html index c9614c2..a04ea21 100644 --- a/shellinabox/root_page.html +++ b/shellinabox/root_page.html @@ -105,9 +105,8 @@ window.onbeforeunload = function(e) { if (typeof window.shellinabox.session != "undefined") { return "Are you sure you want to leave this page?"; - } else { - return null; } + // Don't use explicit return } -->