diff --git a/app.js b/app.js index 1e79176a7..ed45468d2 100644 --- a/app.js +++ b/app.js @@ -363,7 +363,7 @@ $(document).ready(function () { } }); -$(window).bind('unload', function () { +$(window).bind('beforeunload', function () { if (connection && connection.connected) { // ensure signout $.ajax({