Bläddra i källkod

Ticket #2472 - Related fix.

AntonLV 7 år sedan
förälder
incheckning
481fb76ffe
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      template/scripts/BxBaseVoteReactions.php

+ 1 - 0
template/scripts/BxBaseVoteReactions.php

@@ -126,6 +126,7 @@ class BxBaseVoteReactions extends BxDolVoteReactions
         return $this->_oTemplate->parseHtmlByContent($this->_getTmplContentCounterWrapper(), array(
         return $this->_oTemplate->parseHtmlByContent($this->_getTmplContentCounterWrapper(), array(
             'html_id' => $this->_aHtmlIds['counter'],
             'html_id' => $this->_aHtmlIds['counter'],
             'style_prefix' => $this->_sStylePrefix,
             'style_prefix' => $this->_sStylePrefix,
+            'class' => !$bVote && !$bShowCounterEmpty ? 'bx-vc-hidden' : '',
             'type' => $this->_sType,
             'type' => $this->_sType,
             'style' => self::$_sCounterStyleDivided,
             'style' => self::$_sCounterStyleDivided,
             'bx_if:show_link' => array(
             'bx_if:show_link' => array(