diff --git a/themes/bootstrap3/js/facets.js b/themes/bootstrap3/js/facets.js index 77829a5d1b66192efba03046878789aa41b1b29d..db751ada45119ad5d5fe43ff0ec4b5efc0232635 100644 --- a/themes/bootstrap3/js/facets.js +++ b/themes/bootstrap3/js/facets.js @@ -26,8 +26,11 @@ function buildFacetNodes(data, currentPath, allowExclude, excludeTitle, counts) $i.appendTo($item); $item.append(' '); } + var $description = $('<span/>') + .addClass('facet-value') + .append(this.displayText); + $item.append($description); - $item.append(this.displayText); $item.appendTo($html); if (!this.isApplied && counts) { diff --git a/themes/bootstrap3/templates/Recommend/SideFacets/single-facet.phtml b/themes/bootstrap3/templates/Recommend/SideFacets/single-facet.phtml index 2eb8022bd770cee27bb492bf4691bcf659a15a49..74ff2e0700b1f17ba397eb1a3576df53fe049b8f 100644 --- a/themes/bootstrap3/templates/Recommend/SideFacets/single-facet.phtml +++ b/themes/bootstrap3/templates/Recommend/SideFacets/single-facet.phtml @@ -25,6 +25,7 @@ } elseif (!empty($this->facet['value'])) { $displayText = $this->escapeHtml($this->facet['value']); } + $displayText = '<span class="facet-value">' . $displayText . '</span>'; if ($this->facet['operator'] == 'OR') { $displayText =