FIX: Remove leftover uses of ember_jquery (#17178)
On the password_reset error screen, it was totally unused On the show_confirm_new_email screen, we can load the `vendor` bundle instead. Eventually we should move all this logic into the Ember app
This commit is contained in:
parent
def39b2d58
commit
fdb289164f
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
<%- content_for(:no_ember_head) do %>
|
<%- content_for(:no_ember_head) do %>
|
||||||
<meta name="referrer" content="never">
|
<meta name="referrer" content="never">
|
||||||
<%= preload_script "ember_jquery" %>
|
|
||||||
<%= render_google_universal_analytics_code %>
|
<%= render_google_universal_analytics_code %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
|
|
|
@ -77,11 +77,12 @@
|
||||||
<%end%>
|
<%end%>
|
||||||
<% end%>
|
<% end%>
|
||||||
|
|
||||||
|
<%= preload_script "vendor" %>
|
||||||
<%= preload_script "locales/#{I18n.locale}" %>
|
<%= preload_script "locales/#{I18n.locale}" %>
|
||||||
<%- if ExtraLocalesController.client_overrides_exist? %>
|
<%- if ExtraLocalesController.client_overrides_exist? %>
|
||||||
<%= preload_script_url ExtraLocalesController.url('overrides') %>
|
<%= preload_script_url ExtraLocalesController.url('overrides') %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
<%= preload_script 'ember_jquery' %>
|
<% # TODO: move all this logic into the ember app %>
|
||||||
<%= preload_script "discourse/app/lib/webauthn" %>
|
<%= preload_script "discourse/app/lib/webauthn" %>
|
||||||
<%= preload_script "confirm-new-email/confirm-new-email" %>
|
<%= preload_script "confirm-new-email/confirm-new-email" %>
|
||||||
<%= preload_script "confirm-new-email/bootstrap" %>
|
<%= preload_script "confirm-new-email/bootstrap" %>
|
||||||
|
|
Loading…
Reference in New Issue