From bbb10479b04694c8425352fda203efcfe59c2117 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 8 Jul 2018 16:20:22 +0200 Subject: [PATCH] javascript are marked as asynchronous --- app/views/layouts/application.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 6cef9bbd..3793ac78 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -14,7 +14,7 @@ = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true, - type: 'text/javascript' + type: 'text/javascript', defer: true, async: true = csrf_meta_tags - classes = [request.domain ? request.domain.split('.')[0] : '',