Skip to content

Commit 99b8380

Browse files
committed
fix(facets): use double quotes in attribute selector
1 parent ad75f4d commit 99b8380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unbxdSearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
791791
,name = $t.attr("unbxdParam_facetName")
792792
,val = $t.attr("unbxdParam_facetValue")
793793
,vals = val.split(' TO ')
794-
,checkbox_sel = self.options.facetCheckBoxSelector + "[unbxdParam_facetName='"+ name +"'][unbxdParam_facetValue='" + val + "']";
794+
,checkbox_sel = self.options.facetCheckBoxSelector + "[unbxdParam_facetName=\""+ name +"\"][unbxdParam_facetValue=\"" + val + "\"]";
795795

796796
jQuery(checkbox_sel).removeAttr("checked");
797797

0 commit comments

Comments
 (0)