]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_potlatch2.html.erb
Fix problem with heart icon ( #266 )
[rails.git] / app / views / site / _potlatch2.html.erb
index 0c0a859727160112fbd82edf46eb3497d66943c2..54e02987bf9bc7ac42ffc9e301e065e72cfd8ca2 100644 (file)
 
     swfobject.embedSWF("<%= asset_path("potlatch2.swf") %>", "potlatch", "100%", "100%", "10.1.102","<%= asset_path("expressInstall.swf") %>", flashvars, params, attributes);
     // 700,600 for fixed size, 100%,100% for resizable
+
+    if (lat && lon) {
+      updatelinks(lon, lat, zoom);
+    }
   }
 
   <% if @lat && @lon -%>