html += '</a><span> (' + terms[i].freq
+ ')</span><br/>';
}
- var sel = selections[facet];
- if (terms.length == 0 && sel && sel.length) {
- for (var i=0; i<sel.length; i++) {
- if (sel[i]) {
- html += '<a class="cross" href="'+mkdru.removeLimit(facet, sel[i])
- + '"><strong>'+sel[i]+'</strong></a><span> (0)</span><br/>';
+ if (terms.length == 0 && selections && selections.length) {
+ for (var i=0; i<selections.length; i++) {
+ if (selections[i]) {
+ html += '<a class="cross" href="'
+ + mkdru.removeLimit(facet, selections[i])
+ + '"><strong>'+selections[i]+'</strong></a><span> (0)</span><br/>';
}
}
}