1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-29 12:42:16 -05:00

Remove end session confirmation

This commit is contained in:
Lance Stout 2013-09-19 09:44:37 -07:00
parent c667d79cb9
commit db0dfe92b7

View File

@ -54,7 +54,8 @@ module.exports = {
window.onbeforeunload = function () { window.onbeforeunload = function () {
if (client.sessionStarted) { if (client.sessionStarted) {
client.disconnect(); client.disconnect();
return "End active session?"; // We'll make this a setting later
//return "End active session?";
} }
}; };