From 9c0b9bc56124a97701505349ebb6ae1e0d5af21f Mon Sep 17 00:00:00 2001 From: Sneha Mishra <33183263+Tlazypanda@users.noreply.github.com> Date: Wed, 19 Aug 2020 01:10:49 +0530 Subject: [PATCH] replace leaflet files from assets.rb in questionRich.html and _mapDependencies.html (#7945) --- app/assets/stylesheets/application.css | 2 +- app/views/editor/questionRich.html.erb | 10 ++-------- app/views/map/_mapDependencies.html.erb | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 876682255a..3bb720c976 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -39,4 +39,4 @@ *= require location *= require notes *= require spam2 -*/ \ No newline at end of file +*/ diff --git a/app/views/editor/questionRich.html.erb b/app/views/editor/questionRich.html.erb index 19c9c0a9f7..2396a4785a 100644 --- a/app/views/editor/questionRich.html.erb +++ b/app/views/editor/questionRich.html.erb @@ -5,10 +5,8 @@ - - - - +<%= stylesheet_link_tag "leaflet-blurred-location/dist/Leaflet.BlurredLocation.css" %> +<%= javascript_include_tag('leaflet-blurred-location/dist/Leaflet.BlurredLocation.js') %>
@@ -16,10 +14,6 @@ - - - -