From bb0c0993b1c2511e3626bb40d275529f9768dcf9 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 13 Apr 2022 16:51:40 +0000 Subject: [PATCH] wip #5188 @2 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 6 ++---- 1 file changed, 2 insertions(+), 4 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 14a2a3a20..2fb729ece 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2101,7 +2101,8 @@ height="0" width="0" style="display:none;visibility:hidden"> } } - if ($linkData['type'] == 32) { + if ($linkData['type'] == 32 && $linkData['target'] !== 'hide') { + $ids = explode(',', $linkData['to']); $close = ($linkData['video_service'] && $linkData['video_service'] !== 'none'); foreach ($ids as $id) { @@ -3693,12 +3694,9 @@ height="0" width="0" style="display:none;visibility:hidden"> } - } - - if (!function_exists('is_countable')) { function is_countable($c) -- 2.39.5