Show a popup listing available editors when hovering over the edit tab
[rails.git] / app / views / site / index.html.erb
index f9158463af899c8ca1aa12d7c4a5e535e82a3093..bc7ca3394594fb89ff3cf519199cf7edd3898795 100644 (file)
@@ -279,6 +279,8 @@ end
   }
 
   function installEditHandler() {
+    $("josmanchor").onclick =josmEditHandler;
+
     <% if preferred_editor == "josm" %>
       $("editanchor").onclick =josmEditHandler;