From 6f042c63f7e3bd32a058de6e36f62b6ae15c4064 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 4 Feb 2015 10:16:01 +0000 Subject: [PATCH] Use member-access syntax for newsearch_opacity property --- src/mkws-widget-facets.js | 2 +- src/mkws-widget-main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-widget-facets.js b/src/mkws-widget-facets.js index d7c7ffa..2eefb95 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['newsearch_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 81b71c7..e5c14ef 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['newsearch_opacity']; + var op = that.config.newsearch_opacity; if (op !== undefined) { that.node.fadeTo(500, op); } }); -- 1.7.10.4