From: Andreas Gohr Date: Thu, 21 Jun 2007 12:53:07 +0000 (+0200) Subject: Added unload call for Google Maps X-Git-Tag: 0.7.1~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb5de080916f2e53b83ab48b0770a868a9912975;p=contagged Added unload call for Google Maps darcs-hash:20070621125307-6e07b-d614fd5b79677d9571c5cfadce29ac11849d2ac2.gz --- diff --git a/scripts/gui.js b/scripts/gui.js index 3148b9e..68ec0a0 100644 --- a/scripts/gui.js +++ b/scripts/gui.js @@ -189,5 +189,8 @@ $(document).ready(function() { // run google maps loader - if($('#google_map').length) gmap_loader(); + if($('#google_map').length){ + gmap_loader(); + $(document).unload(GUnload); + } });