]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Stick search input and Go button together with flex instead of input group
[rails.git] / app / assets / javascripts / user.js
index 377efb315b290eaf48a1c186f44aa648b56fe153..8e4410fcee0568d04e2297a178205c60df144454 100644 (file)
@@ -1,4 +1,4 @@
-//= require leaflet.locate
+//= require leaflet.locatecontrol/src/L.Control.Locate
 
 $(document).ready(function () {
   if ($("#map").length) {
@@ -88,7 +88,7 @@ $(document).ready(function () {
   $("select#user_auth_provider").on("change", updateAuthUID);
 
   $("input#user_avatar").on("change", function () {
-    $("#avatar_action_new").prop("checked", true);
+    $("#user_avatar_action_new").prop("checked", true);
   });
 
   function enableAuth() {