Load JS in async mode before closing <body>

This commit is contained in:
Artur Beljajev 2018-01-23 20:03:43 +02:00
parent e7b377e651
commit e21de1c42d

View file

@ -12,7 +12,6 @@
<% end %> <% end %>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>
<%= stylesheet_link_tag 'registrar-manifest', media: 'all' %> <%= stylesheet_link_tag 'registrar-manifest', media: 'all' %>
<%= javascript_include_tag 'registrar-manifest' %>
<%= favicon_link_tag 'favicon.ico' %> <%= favicon_link_tag 'favicon.ico' %>
</head> </head>
<body> <body>
@ -59,5 +58,6 @@
</div> </div>
</div> </div>
</footer> </footer>
<%= javascript_include_tag 'registrar-manifest', async: true %>
</body> </body>
</html> </html>