From b0046fa9044fd6d91c46590eca3526662c3c8f93 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Tue, 16 Apr 2024 11:05:21 +0200 Subject: [PATCH] Move `data-cfasync="false"` after `data-relocate="true"` --- .../system/template/plugin/JsFunctionTemplatePlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/template/plugin/JsFunctionTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/JsFunctionTemplatePlugin.class.php index ec5e03d285..a36f569298 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/JsFunctionTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/JsFunctionTemplatePlugin.class.php @@ -110,7 +110,7 @@ class JsFunctionTemplatePlugin implements IFunctionTemplatePlugin $src .= '.js?v=' . LAST_UPDATE_TIME; $relocate = !RequestHandler::getInstance()->isACPRequest() && (!isset($tagArgs['core']) || $tagArgs['core'] !== 'true'); - $html = '' . "\n"; + $html = '' . "\n"; if (isset($tagArgs['encodeJs']) && $tagArgs['encodeJs'] === 'true') { $html = StringUtil::encodeJS($html); -- 2.20.1