From 97bf00817ca798a92bc65fb6f8a2dc17a64d75db Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 15 Jan 2018 21:21:44 +0100 Subject: [PATCH] fixes js class name --- app/assets/javascripts/map.js.coffee | 2 +- app/helpers/map_locations_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/map.js.coffee b/app/assets/javascripts/map.js.coffee index 797232c4f..28ac34f29 100644 --- a/app/assets/javascripts/map.js.coffee +++ b/app/assets/javascripts/map.js.coffee @@ -83,4 +83,4 @@ App.Map = toogleMap: -> $('.map').toggle() - $('.location-map-remove-marker-button').toggle() \ No newline at end of file + $('.js-location-map-remove-marker').toggle() \ No newline at end of file diff --git a/app/helpers/map_locations_helper.rb b/app/helpers/map_locations_helper.rb index e20d5e21a..85b02e28c 100644 --- a/app/helpers/map_locations_helper.rb +++ b/app/helpers/map_locations_helper.rb @@ -38,7 +38,7 @@ module MapLocationsHelper content_tag :a, id: map_location_remove_marker_link_id(map_location), href: "#", - class: "location-map-remove-marker-button delete" do + class: "js-location-map-remove-marker location-map-remove-marker" do text end end