Browse Source

Merges Philipp modification for window unload event.

master
Yana Stamcheva 11 years ago
parent
commit
825eb104ff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app.js

+ 1
- 1
app.js View File

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

Loading…
Cancel
Save