diff --git a/_layouts/post.html b/_layouts/post.html index e7c66b8..8537827 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -78,7 +78,8 @@

{{ page.title }}

}); window.onbeforeunload = function(e) { navigator.sendBeacon("{{site.pwdurl}}/sessions/" + pwd.sessionId + "/close"); - return; + e.preventDefault(); + e.returnValue = 'Hi'; }