]> git.sur5r.net Git - contagged/commitdiff
Added unload call for Google Maps
authorAndreas Gohr <gohr@cosmocode.de>
Thu, 21 Jun 2007 12:53:07 +0000 (14:53 +0200)
committerAndreas Gohr <gohr@cosmocode.de>
Thu, 21 Jun 2007 12:53:07 +0000 (14:53 +0200)
darcs-hash:20070621125307-6e07b-d614fd5b79677d9571c5cfadce29ac11849d2ac2.gz

scripts/gui.js

index 3148b9e3ef76e463057bb055dedf07c04cd9a463..68ec0a016bdd2c7a627fc5f3a051b8737d499054 100644 (file)
@@ -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);
+    }
 });