This commit is contained in:
Marcos Lilljedahl
2017-05-18 18:47:11 -03:00
2 changed files with 18 additions and 2 deletions

View File

@@ -63,6 +63,8 @@
KeyboardShortcutService.setResizeFunc($scope.resize);
$scope.closeSession = function() {
// Remove alert before closing browser tab
window.onbeforeunload = null;
$scope.socket.emit('session close');
}