]> git.sur5r.net Git - contagged/blobdiff - scripts/gui.js
Fixed problem with login check within Chrome 33.x and auto-completion
[contagged] / scripts / gui.js
index 3148b9e3ef76e463057bb055dedf07c04cd9a463..d1523203c3d7d320043e191cad5881a213b2a87a 100644 (file)
@@ -113,7 +113,7 @@ $(document).ready(function() {
         helperClass: 'autocompleter',
         selectClass: 'autocompleterSelect',
         inputWidth: true,
-        minchars: 1,
+        minchars: 1
         //multiple: true,
         //multipleSeperator: ','
     });
@@ -134,7 +134,7 @@ $(document).ready(function() {
         helperClass: 'autocompleter',
         selectClass: 'autocompleterSelect',
         inputWidth: true,
-        minchars: 1,
+        minchars: 1
     });
 
     // nice images
@@ -150,7 +150,7 @@ $(document).ready(function() {
         img.className = 'click';
         img.id        = 'tagedit_start';
         $('#tagedit').empty().after(img);
-        $(img).click(tagedit)
+        $(img).click(tagedit);
     }
 
     // note editing
@@ -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);
+    }
 });