mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-26 03:02:25 -05:00
Remove end session confirmation
This commit is contained in:
parent
c667d79cb9
commit
db0dfe92b7
@ -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?";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user