Do not bother assigning to output.queryWidth, as this value is never used.
authorMike Taylor <mike@indexdata.com>
Fri, 7 Nov 2014 16:14:33 +0000 (16:14 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 7 Nov 2014 16:14:33 +0000 (16:14 +0000)
We recommend the use of CSS instead. See MKWS-330.

src/mkws-widget-main.js

index fae978d..70c45e2 100644 (file)
@@ -220,7 +220,6 @@ mkws.registerWidgetType('switch', function() {
 mkws.registerWidgetType('search', function() {
   var output = {};
   output.team = this.team.name();
-  output.queryWidth = this.config.query_width;
   var template = this.team.loadTemplate(this.config.template || "search");
   this.node.html(template(output));
 });