mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Remove unloading hook from gather because its triggered to often.
This commit is contained in:
parent
68f24bef9f
commit
01f3b3d32e
1 changed files with 0 additions and 6 deletions
|
@ -58,12 +58,6 @@
|
|||
}
|
||||
});
|
||||
|
||||
$(window).bind('beforeunload', function(e) {
|
||||
if (gatherer_id > 0 && leave_confirm) {
|
||||
return "You will be removed from the Gather if you leave this page.";
|
||||
}
|
||||
});
|
||||
|
||||
$(window).bind('unload', function() {
|
||||
if (gatherer_id > 0 && leave_confirm) {
|
||||
updateGathererStatus('leaving');
|
||||
|
|
Loading…
Reference in a new issue