From 16b03edcf8c2e1c905e32a3c319f293c0b7b9d0c Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 19 Jan 2021 18:21:55 +0000 Subject: [PATCH] wait #4204 @0.25 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 1dbf7266d..b1754ea90 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1637,8 +1637,12 @@ class wsHTML5Compiler $ids = explode(',', $linkData['to']); foreach ($ids as $id) { $id = trim($id); - $hiddenLinks[] = $id; - $hiddenLinks[] = 'i_' . $id; + if($id==='tabs'){ + $this->config->tabsHiddenAtStartup=true; + }else { + $hiddenLinks[] = $id; + $hiddenLinks[] = 'i_' . $id; + } } } } @@ -1653,7 +1657,6 @@ class wsHTML5Compiler $linkPages = []; $allLinksData = []; - usort($links, array($this, '_sortLinks')); foreach ($links as $linkData) { -- 2.39.5