Merges Philipp modification for window unload event.

This commit is contained in:
Yana Stamcheva 2013-12-23 17:15:58 +01:00
parent 9c0e924b13
commit 825eb104ff
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -340,7 +340,7 @@ $(document).ready(function () {
}
});
$(window).bind('beforeunload', function () {
$(window).bind('unload', function () {
if (connection && connection.connected) {
// ensure signout
$.ajax({