javascript async and defer options have bad visual secondary effects, thus on hold for the time being
This commit is contained in:
parent
574f8e1270
commit
06a07079ee
@ -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] : ''
|
||||||
|
Loading…
Reference in New Issue
Block a user