- html += '<a href="';
- if (facet == 'source')
- html += mkdru.addLimit(facet, terms[i].id);
- else
- html += mkdru.addLimit(facet, terms[i].name);
- html += '">' + terms[i].name + '</a><span> (' + terms[i].freq + ')</span><br/>';
- }
- return html;
-};
+ var term = terms[i];
+ html += '<a href="'+term.hashQuery+'"';
+ if (term.selected) html += ' class="cross"><strong';
+ html += '>'+terms[i].name;
+ if (term.selected) html += "</strong>";
+ html += '</a><span> (' + terms[i].freq
+ + ')</span><br/>';