mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
Remove unloading hook from gather because its triggered to often.
This commit is contained in:
parent
2cc522230c
commit
7a8baa83c7
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() {
|
$(window).bind('unload', function() {
|
||||||
if (gatherer_id > 0 && leave_confirm) {
|
if (gatherer_id > 0 && leave_confirm) {
|
||||||
updateGathererStatus('leaving');
|
updateGathererStatus('leaving');
|
||||||
|
|
Loading…
Reference in a new issue