From 0479cdecbc8788c5d980490af9c2fda00753cd6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 18 May 2022 11:30:54 +0200 Subject: [PATCH] Revert "Remove unneeded `window.onload` callbacks in WCFSetup JavaScript" This change had the undesired effect that the footer did not show. Instead the more appropriate `DOMContentLoaded` event should be used. This reverts commit 99e56d2929be14b1f5141e6a5136ff7c7de6f39d. --- wcfsetup/setup/template/stepInstallPackages.tpl | 4 +++- wcfsetup/setup/template/stepNext.tpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wcfsetup/setup/template/stepInstallPackages.tpl b/wcfsetup/setup/template/stepInstallPackages.tpl index 78a3387eb0..2b9eccb7b2 100644 --- a/wcfsetup/setup/template/stepInstallPackages.tpl +++ b/wcfsetup/setup/template/stepInstallPackages.tpl @@ -17,7 +17,9 @@ if (typeof window._trackWcfSetupStep === 'function') window._trackWcfSetupStep('installPackages'); {include file='footer'} diff --git a/wcfsetup/setup/template/stepNext.tpl b/wcfsetup/setup/template/stepNext.tpl index 7efa2851ed..ae1920fc5d 100644 --- a/wcfsetup/setup/template/stepNext.tpl +++ b/wcfsetup/setup/template/stepNext.tpl @@ -27,7 +27,9 @@ if (typeof window._trackWcfSetupStep === 'function') window._trackWcfSetupStep('next'); {include file='footer'} -- 2.20.1