]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Add bootstrap_form formbuilder gem
[rails.git] / app / assets / javascripts / user.js
index b9518f10de451cca7f76cccd20c257dad91f663c..377efb315b290eaf48a1c186f44aa648b56fe153 100644 (file)
@@ -19,7 +19,7 @@ $(document).ready(function () {
       strings: {
         title: I18n.t("javascripts.map.locate.title"),
         popup: function (options) {
-          return I18n.t("javascripts.map.locate." + options.unit + "Popup", :count => options.distance);
+          return I18n.t("javascripts.map.locate." + options.unit + "Popup", { count: options.distance });
         }
       }
     }).addTo(map);