]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_key.rhtml
Make the polymorphic relation association work properly.
[rails.git] / app / views / site / _key.rhtml
index c6b6fe29a5912448f020c3a07dcb63cf5de60a7f..64309949815eadc0f80922876e3f8d304d800bfb 100644 (file)
@@ -12,7 +12,7 @@
     else                   { var imgname = 'keymapnik13.png'; }
 
     updateSidebar("Map key", "<p><img src='images/"+imgname+"' /></p>");
-    openSidebar("210px");
+    openSidebar({ width: "210px" });
   }
 
   function updateKey() {