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