From 0019e2e110c0adc9e0564c6cb0f7b82f60d38d46 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Tue, 2 Mar 2021 19:19:19 +0100 Subject: [PATCH] FIX: Remove unused JS from "finish installation" page (#12263) This fixes the following error: "Uncaught ReferenceError: I18n is not defined" The alternative would be to add `locales/#{I18n.locale}`, but the pages do not use any JS. --- app/views/layouts/finish_installation.html.erb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/layouts/finish_installation.html.erb b/app/views/layouts/finish_installation.html.erb index 3958fb1179f..22c2b04e55f 100644 --- a/app/views/layouts/finish_installation.html.erb +++ b/app/views/layouts/finish_installation.html.erb @@ -3,8 +3,6 @@ <%= discourse_stylesheet_link_tag 'wizard', theme_ids: nil %> <%= discourse_color_scheme_stylesheets %> - <%= preload_script 'ember_jquery' %> - <%= preload_script 'wizard-vendor' %> <%= render partial: "layouts/head" %> <%= t 'wizard.title' %>