public function getHTMLContainerClass()
{
- return parent::getHTMLContainerClass() . ' zoomarea';
+ $class = ' zoomarea';
+
+ $groups = explode(',', $this->group);
+
+ // If there's more than one group assigned, this link shouldn't be clickable (disabled via CSS)
+ // This needs to be set here (parent element) instead of on the actual link so we don't end up with a dead zone
+ if (count($groups) > 1) {
+ $class .= ' pointer-events-none';
+ }
+
+ return parent::getHTMLContainerClass() . $class;
}
public function getDefaultTooltip()