From ac9a6348bdb01e55a5fe858b83be0e5bd6e7769c Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 20 Apr 2022 07:58:24 +0000 Subject: [PATCH] wait #5242 @0.75 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 7b6b25e24..ece0f0ad8 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -270,10 +270,14 @@ class wsHTML5Link case 37: return new downloadPortionLink($id, $init, $compiler); case 38: - if ($init['target'] == 'page') { - $compiler->addTriggersLink($init['page'], $init['to']); - } else { - return new triggerLink($id, $init, $compiler); + switch ($init['target']) { + case 'click': + case 'stoponclick': + return new triggerLink($id, $init, $compiler); + case 'page': + default: + $compiler->addTriggersLink($init['page'], $init['to']); + break; } break; case 39: @@ -3003,7 +3007,6 @@ class slideshowLink extends normalLink ]; - $slides = []; $slides_options = []; @@ -3103,7 +3106,7 @@ class slideshowLink extends normalLink $res .= '