From a411cf0cf1238b11714e541c187d497c68c4052c Mon Sep 17 00:00:00 2001 From: Christoph Werner Date: Thu, 30 Nov 2023 13:42:34 +0100 Subject: [PATCH] * JS loading optimisation --- contao/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contao/config/config.php b/contao/config/config.php index 62ee4ee..24c34c5 100644 --- a/contao/config/config.php +++ b/contao/config/config.php @@ -13,4 +13,4 @@ use Contao\System; -$GLOBALS['TL_JAVASCRIPT'][] = System::getContainer()->get('assets.packages')->getUrl('plentanewslike/layout.js', 'plentanewslike'); +$GLOBALS['TL_BODY']['PLENTA_NEWS_LIKE_JS'] = '';