]> _ Git - cubeextranet.git/commitdiff
wait #4880 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 15 Nov 2021 14:41:11 +0000 (14:41 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 15 Nov 2021 14:41:11 +0000 (14:41 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index f3c4db9f18456e3f9074cb5b78771effc9a54342..47d1f09b356ca10bea13c7feb6135beaabacb9f9 100644 (file)
@@ -1681,14 +1681,14 @@ class colorLink extends contentLink
     public function getCSS()
     {
         $res = parent::getCSS();
-        $res .= 'background-color:' . wsHTML5::colorToCSS($this->to, 1) . ';';
+        $res .= 'background-color:' . wsHTML5::colorToCSS($this->to) . ';';
         return $res;
     }
 
     public function getAdditionnalContent()
     {
         $res = parent::getAdditionnalContent();
-        $res .= ' data-color="' . wsHTML5::colorToCSS($this->to, 1) . '"';
+        $res .= ' data-color="' . wsHTML5::colorToCSS($this->to) . '"';
         return $res;
     }
 }