From 27d7719a3dceda4e87e437867d1f1d135badf78d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 15 Mar 2024 18:26:34 +0100 Subject: [PATCH] wip #6801 @0.5 --- src/Links/ContentLink.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Links/ContentLink.php b/src/Links/ContentLink.php index 659b627..b23dbaf 100644 --- a/src/Links/ContentLink.php +++ b/src/Links/ContentLink.php @@ -24,6 +24,9 @@ class ContentLink extends Link public function getAdditionnalContent() { $res = parent::getAdditionnalContent(); + if ($this->rollover === 'fadein') { + $res .= ' data-rollover-hide '; + } if ($this->allowsAnimation) { $animations = self::parseAnimations($this->image_rollover ?? 'none'); foreach ($animations as $animation) { -- 2.39.5