]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Remove 'no home' message css from profile edit form
[rails.git] / app / assets / javascripts / user.js
index 14da8f300497cc8fd0497616a0ef1d21923b95ae..964f187f9795d7861ffc7ceb6b0c8f3514234e5b 100644 (file)
@@ -54,7 +54,7 @@ $(document).ready(function () {
               precision = OSM.zoomPrecision(zoom),
               location = e.latlng.wrap();
 
-          $("#homerow").removeClass();
+          $("#home_message").hide();
           $("#home_lat").val(location.lat.toFixed(precision));
           $("#home_lon").val(location.lng.toFixed(precision));