Skip to content

Commit

Permalink
Remove unused js link
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Sep 30, 2024
1 parent a6362a3 commit 2f79585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
= javascript_include_tag 'application', 'jquery.form', 'jquery.remotipart'
- if current_page?(saved_path) || current_page?(map_path) || current_page?(operators_path) || ((defined? @region) and current_page?(region_homepage_path))
= stylesheet_link_tag 'lightbox', 'https://unpkg.com/[email protected]/dist/maplibre-gl.css'
= javascript_include_tag 'lightbox.min', 'https://unpkg.com/[email protected]/dist/maplibre-gl.js', 'https://unpkg.com/[email protected]/dist/pmtiles.js', 'https://unpkg.com/protomaps-themes-base@3/dist/protomaps-themes-base.js'
= javascript_include_tag 'lightbox.min', 'https://unpkg.com/[email protected]/dist/maplibre-gl.js', 'https://unpkg.com/[email protected]/dist/pmtiles.js'
- if ((defined? @region) and current_page?(suggest_path)) || current_page?(map_location_suggest_path)
= javascript_include_tag 'https://maps.googleapis.com/maps/api/js?libraries=places&key=' + ENV['GOOGLE_MAPS_API_KEY'].to_s, 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js'
= stylesheet_link_tag 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css'
Expand Down

0 comments on commit 2f79585

Please sign in to comment.