Reinstate "Related Topics" widget.
authorMike Taylor <mike@indexdata.com>
Wed, 21 May 2014 16:17:30 +0000 (17:17 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 21 May 2014 16:17:30 +0000 (17:17 +0100)
Which doesn't work.

examples/htdocs/mkws-widget-credo.js

index 34ee2f8..b7f8f4f 100644 (file)
@@ -37,7 +37,7 @@ mkws.registerWidgetType('Credo', function() {
   s.push(section('mindmap', 'Create a Mind Map for ### title',
                  '### Is there a way to make a mind-map?'));
   s.push(section('topics', 'Related Topics',
-                 1 || this.subwidget('Facet', { facet: 'subject' })));
+                 this.subwidget('Facet', { facet: 'subject' })));
   s.push('</td>');
 
   s.push('</tr>');