Remove unloading hook from gather because its triggered to often.

This commit is contained in:
simplefl 2015-04-16 19:38:26 +02:00
parent 2cc522230c
commit 7a8baa83c7

View file

@ -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');