Skip to content

Commit

Permalink
Ensuring that the JavaScript packs are loaded first
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgriffiniii committed Feb 13, 2019
1 parent a40cef2 commit 1cf6a62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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 @@ -15,10 +15,10 @@
<title><%= h(@page_title || application_name) %></title>
<link href="<%= current_exhibit ? spotlight.exhibit_opensearch_catalog_url(current_exhibit, format: 'xml') : main_app.opensearch_catalog_url(format: 'xml') %>" title="<%= application_name %>" type="application/opensearchdescription+xml" rel="search"/>
<%= favicon_link_tag 'favicon.ico' %>
<%= javascript_pack_tag 'application' %>
<link rel="stylesheet" href="https://use.typekit.net/yhr7zwc.css">
<%= stylesheet_pack_tag 'application' %>
<%= stylesheet_link_tag "application" %>
<%= javascript_pack_tag 'application' %>
<%= javascript_include_tag :modernizr %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/blacklight.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<title><%= h(@page_title || application_name) %></title>
<link href="<%= current_exhibit ? spotlight.exhibit_opensearch_catalog_url(current_exhibit, format: 'xml') : main_app.opensearch_catalog_url(format: 'xml') %>" title="<%= application_name %>" type="application/opensearchdescription+xml" rel="search"/>
<%= favicon_link_tag 'favicon.ico' %>
<%= javascript_pack_tag 'application' %>
<link rel="stylesheet" href="https://use.typekit.net/yhr7zwc.css">
<%= stylesheet_pack_tag 'application' %>
<%= stylesheet_link_tag "application" %>
<%= javascript_pack_tag 'application' %>
<%= javascript_include_tag :modernizr %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/spotlight/spotlight.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<title><%= h(@page_title || application_name) %></title>
<link href="<%= current_exhibit ? spotlight.opensearch_exhibit_catalog_url(current_exhibit, format: 'xml') : main_app.opensearch_catalog_url(format: 'xml') %>" title="<%= application_name %>" type="application/opensearchdescription+xml" rel="search"/>
<%= favicon_link_tag 'favicon.ico' %>
<%= javascript_pack_tag 'application' %>
<link rel="stylesheet" href="https://use.typekit.net/yhr7zwc.css">
<%= stylesheet_pack_tag 'application' %>
<%= stylesheet_link_tag "application" %>
<%= javascript_pack_tag 'application' %>
<%= javascript_include_tag :modernizr %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
Expand Down

0 comments on commit 1cf6a62

Please sign in to comment.