X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmkws-widget-termlists.js;h=acd9dcf5d15bb8745a2927a6333f8d2b0093b096;hb=584ad4eee24fa651e410553d497e7808594091fc;hp=b28261479ea23fbada6fb7cb6410ac84b0c224a4;hpb=f122cb28acf4edfef651bc59472f1a88d03b6035;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index b282614..acd9dcf 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -2,11 +2,11 @@ mkws.registerWidgetType('Termlists', function() { var that = this; // Initially hide the termlists; display when we get results - $(document).ready(function() { - $(that.node).hide(); + mkws.$(document).ready(function() { + that.node.hide(); }); this.team.queue("termlists").subscribe(function(data) { - $(that.node).show(); + that.node.show(); }); var acc = []; @@ -15,7 +15,7 @@ mkws.registerWidgetType('Termlists', function() { for (var i = 0; i < facets.length; i++) { acc.push('