Skip to content

Commit

Permalink
fix icons error by preloading FA 5 first
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlazypanda committed Jun 16, 2020
1 parent f4dfdcb commit 9f15f0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script type="text/javascript" async
src="https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

<link rel="stylesheet preload prefetch" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css" as="style" type="text/css" />
<%= stylesheet_link_tag "application", :media => "all" %>
<% if @node && @node.has_tag('style:fancy') %>
<%= stylesheet_link_tag "fancy", :media => "all" %>
Expand Down
1 change: 0 additions & 1 deletion app/views/map/_mapDependencies.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %>
<%= javascript_include_tag('/lib/leaflet-environmental-layers/src/windRoseLayer.js') %>
<%= javascript_include_tag('/lib/leaflet-fullhash/leaflet-fullHash.js') %>
<%= stylesheet_link_tag('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css') %>
<%= javascript_include_tag('https://unpkg.com/[email protected]/dist/esri-leaflet.js') %>
<%= javascript_include_tag('https://unpkg.com/[email protected]') %>
Expand Down

0 comments on commit 9f15f0b

Please sign in to comment.