FIX: Load I18n first in show_confirm_new_email page

This commit is contained in:
Dan Ungureanu 2020-06-12 14:48:44 +03:00
parent 60196cc192
commit 111877db1f
No known key found for this signature in database
GPG Key ID: 0AA2A00D6ACC8B84
1 changed files with 4 additions and 2 deletions

View File

@ -77,9 +77,11 @@
<%end%>
<% end%>
<%= preload_script "ember_jquery" %>
<%= preload_script "locales/#{I18n.locale}" %>
<%= preload_script "locales/i18n" %>
<%- if ExtraLocalesController.client_overrides_exist? %>
<%= preload_script_url ExtraLocalesController.url('overrides') %>
<%- end %>
<%= preload_script 'ember_jquery' %>
<%= preload_script "discourse/app/lib/webauthn" %>
<%= preload_script "confirm-new-email/confirm-new-email" %>
<%= preload_script "confirm-new-email/bootstrap" %>