javascript async and defer options have bad visual secondary effects, thus on hold for the time being

This commit is contained in:
echarp 2018-07-15 12:28:49 +02:00
parent 574f8e1270
commit 06a07079ee

View File

@ -14,7 +14,7 @@
= stylesheet_link_tag 'application', media: 'all', = stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' => true 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true, = javascript_include_tag 'application', 'data-turbolinks-track' => true,
type: 'text/javascript', defer: true, async: Rails.env.production? type: 'text/javascript'
= csrf_meta_tags = csrf_meta_tags
- sub = request.domain ? request.domain.split('.')[0] : '' - sub = request.domain ? request.domain.split('.')[0] : ''