From 77efd31ba4c4e8a0ab49b5d62e025ffb6a165240 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 30 Jan 2020 16:28:18 +0000 Subject: [PATCH] wip #3382 @2 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ddca2cbe9..53471c546 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -483,7 +483,10 @@ class showLinkLink extends normalLink public function getAdditionnalContent() { $res = parent::getAdditionnalContent(); - $res .= ' data-showmode="' . $this->target . '" data-showid="' . $this->to . '"'; + if (!$this->video_service) { + $this->video_service = 'none'; + } + $res .= ' data-showmode="' . $this->target . '" data-showclose="' . $this->video_service . '" data-showid="' . $this->to . '"'; return $res; } } -- 2.39.5