First part of parsing hash fragment.
[mkws-moved-to-github.git] / src / mkws-widget-facets.js
index d7c7ffa..04f6dc6 100644 (file)
@@ -4,11 +4,12 @@ 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); }
   });
 
   team.queue("facets").subscribe(function(data) {
+    that.node.stop();
     that.node.css('opacity', 1);
     that.node.addClass("active");
   });