Image-count down to 3, as Bootstrap apparently can't display four
authorMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 15:10:23 +0000 (16:10 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 15:10:23 +0000 (16:10 +0100)
non-tiny images without non-trivial work.

examples/htdocs/mkws-widget-credo.js

index 8617724..052aaec 100644 (file)
@@ -47,7 +47,7 @@ mkws.registerWidgetType('Credo', function() {
                  this.subwidget('Reference', { _team: 'ref', paragraphs: 1 })));
   // The Images widget needs to be in our team so we can set its template
   s.push(section('image', 'Images',
-                 this.subwidget('GoogleImage', { maxrecs: 4, template: 'CredoImage', target: 'google_images_js' })));
+                 this.subwidget('GoogleImage', { maxrecs: 3, template: 'CredoImage', target: 'google_images_js' })));
   s.push('</td>');
 
   s.push('<td class="side">');