make js async

This commit is contained in:
r888888888
2016-02-04 16:34:33 -08:00
parent c63d092e64
commit f2e651a801

View File

@@ -28,7 +28,7 @@
<% if CurrentUser.user.custom_style.present? %>
<%= stylesheet_link_tag custom_style_users_path, :media => "screen" %>
<% end %>
<%= javascript_include_tag "application" %>
<%= javascript_include_tag "application", :async => true %>
<%= raw Danbooru.config.custom_html_header_content %>
<%= yield :html_header %>
<% if Danbooru.config.twitter_site %>