]> git.openstreetmap.org Git - rails.git/commitdiff
Don't try and update links on nodes whose names match member functions
authorTom Hughes <tom@compton.nu>
Thu, 14 Jun 2007 09:29:32 +0000 (09:29 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 14 Jun 2007 09:29:32 +0000 (09:29 +0000)
of the JavaScript Array object...

public/javascripts/site.js

index b610f3728262b6aed70840b4a0950008d7e18074..781940fa6494a84a8c578b034a6b18b881ea61d6 100644 (file)
@@ -1,5 +1,5 @@
 function updatelinks(lon,lat,zoom) {
-  var links = new Array();
+  var links = new Object();
   links['viewanchor'] = '/index.html';
   //links['editanchor'] = 'edit.html';
   links['uploadanchor'] = '/traces';