Fix spelling of newsearch_opacity property
authorMike Taylor <mike@indexdata.com>
Wed, 4 Feb 2015 10:15:20 +0000 (10:15 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 4 Feb 2015 10:15:20 +0000 (10:15 +0000)
src/mkws-widget-facets.js
src/mkws-widget-main.js

index 26d5d9f..d7c7ffa 100644 (file)
@@ -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); }
   });
 
index 5ddb0b3..81b71c7 100644 (file)
@@ -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); }
   });