diff --git a/modules/shared/auth/ui/home.php b/modules/shared/auth/ui/home.php index f4325e1..f4c643e 100644 --- a/modules/shared/auth/ui/home.php +++ b/modules/shared/auth/ui/home.php @@ -954,7 +954,7 @@ function render_auth_home_page(array $user, array $otcProducts = [], array $otcM echo 'const portalModuleContentCards = ' . $moduleContentCards . ';'; echo 'const portalModuleHeadings = ' . $moduleHeadings . ';'; echo "const portalContentBody = document.querySelector('[data-left-navigation-content-body]');"; - echo "if (portalContentBody && window.sgInitLargeTableColumnResize) { const portalLargeTableResizeObserver = new MutationObserver(() => window.sgInitLargeTableColumnResize({ root: portalContentBody })); portalLargeTableResizeObserver.observe(portalContentBody, { childList: true, subtree: true }); window.sgInitLargeTableColumnResize({ root: portalContentBody }); }"; + echo "if (portalContentBody && window.sgInitLargeTableColumnResize) { const portalLargeTableResizeObserver = new MutationObserver(() => window.sgInitLargeTableColumnResize({ root: portalContentBody })); portalLargeTableResizeObserver.observe(portalContentBody, { childList: true }); window.sgInitLargeTableColumnResize({ root: portalContentBody }); }"; echo "const renderMainHeading = (moduleName) => {"; echo " const heading = document.querySelector('[data-main-heading]');"; echo " if (heading && portalModuleHeadings[moduleName]) { heading.textContent = portalModuleHeadings[moduleName]; }";