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 68f24bef9f
commit 01f3b3d32e

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