X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4176b78edf3c475495cf1d956ac492b97b8d6464..a8db515f13d56c29ec5613365defffabaee1808c:/app/assets/javascripts/user.js diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 377efb315..8e4410fce 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -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() {