From 1fcd6aa245e1b468ba83b1d5a9561cc97a9d00e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Sun, 20 Sep 2026 10:35:37 +0200 Subject: [PATCH] Fix market drawer script syntax --- modules/shared/auth/ui/home.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shared/auth/ui/home.php b/modules/shared/auth/ui/home.php index d2d0c5b..2c97dce 100644 --- a/modules/shared/auth/ui/home.php +++ b/modules/shared/auth/ui/home.php @@ -1205,7 +1205,7 @@ function render_auth_home_page(array $user, array $otcProducts = [], array $otcM echo " if (!contentRoot || !definitionContent || !drawer || !readCard || !card || !form || !editButton || definitionContent.dataset.marketDefinitionsBound === 'true') { return; }"; echo " definitionContent.dataset.marketDefinitionsBound = 'true';"; echo " let activeMarket = null;"; - echo <<<'JS'; + echo <<<'JS' const prepareMarketDefinitionDeleteCard = () => { const existingCard = drawer.querySelector('[data-market-definition-card]'); if (!existingCard || drawer.querySelector('[data-market-definition-delete-id]')) {