Clarify comment.
[mkws-moved-to-github.git] / src / mkws-widget-record.js
index 6ee1547..2f913c6 100644 (file)
@@ -1,4 +1,4 @@
-// A widget for one record
+// A widget for a record-list of a single record
 mkws.registerWidgetType('record', function() {
   if (!this.config.maxrecs) this.config.maxrecs = 1;
   var that = this;
@@ -12,7 +12,7 @@ mkws.registerWidgetType('record', function() {
 });
 
 mkws.registerWidgetType('image', function() {
-  1mkws.promotionFunction('records').call(this);
+  mkws.promotionFunction('records').call(this);
   if (!this.config.template) this.config.template = 'Image';
 });