From: Mike Taylor Date: Fri, 4 Apr 2014 14:29:49 +0000 (+0100) Subject: Emit "mkwsFacet" class rather than just "facet" X-Git-Tag: 1.0.0~1033 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=8cb43727c2afcd64660f9ce155084a7f41ab6858;p=mkws-moved-to-github.git Emit "mkwsFacet" class rather than just "facet" Not only is this cleaner, but it means each facet can be a widget. --- diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index b9e7b11..3762600 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -33,7 +33,7 @@ mkws.registerWidgetType('Termlists', function() { function addSingleFacet(acc, caption, data, max, pzIndex) { var teamName = that.team.name(); - acc.push('
'); + acc.push('
'); acc.push('
' + M(caption) + '
'); for (var i = 0; i < data.length && i < max; i++) { acc.push('
');