From: Mike Taylor Date: Wed, 4 Feb 2015 10:15:20 +0000 (+0000) Subject: Fix spelling of newsearch_opacity property X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=cb3027a4ef6f6cc32acd558f1a2585d14e223775;p=mkws-moved-to-github.git Fix spelling of newsearch_opacity property --- diff --git a/src/mkws-widget-facets.js b/src/mkws-widget-facets.js index 26d5d9f..d7c7ffa 100644 --- a/src/mkws-widget-facets.js +++ b/src/mkws-widget-facets.js @@ -4,7 +4,7 @@ mkws.registerWidgetType('facets', function() { var team = this.team; this.team.queue("searchtriggered").subscribe(function() { - var op = that.config['new-search-opacity']; + var op = that.config['newsearch_opacity']; if (op !== undefined) { that.node.fadeTo(500, op); } }); diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 5ddb0b3..81b71c7 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -115,7 +115,7 @@ mkws.registerWidgetType('records', function() { var team = this.team; this.team.queue("searchtriggered").subscribe(function() { - var op = that.config['new-search-opacity']; + var op = that.config['newsearch_opacity']; if (op !== undefined) { that.node.fadeTo(500, op); } });