diff --git a/app/views/users/activate_account.html.erb b/app/views/users/activate_account.html.erb index 97cf7faecf8..44aac1f420f 100644 --- a/app/views/users/activate_account.html.erb +++ b/app/views/users/activate_account.html.erb @@ -10,8 +10,8 @@ <%- content_for(:no_ember_head) do %> - <%= script "ember_jquery" %> - <%= script "vendor" %> + <%= preload_script "ember_jquery" %> + <%= preload_script "vendor" %> <%= render_google_universal_analytics_code %> <%- end %> diff --git a/app/views/users/password_reset.html.erb b/app/views/users/password_reset.html.erb index e64d9d81976..a7d6aedca49 100644 --- a/app/views/users/password_reset.html.erb +++ b/app/views/users/password_reset.html.erb @@ -17,7 +17,7 @@ <%- content_for(:no_ember_head) do %> - <%= script "ember_jquery" %> + <%= preload_script "ember_jquery" %> <%= render_google_universal_analytics_code %> <%- end %>