X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget-main.js;h=d3a13cf2e2e1b729331759a2eae39c750dcd3b95;hb=0cbf56a5b0676d4adea770e9f50c1d7b0d72ae86;hp=07243e726876e915255b5bde822bf184fa4773bb;hpb=db46e4d678127a9c80ee5b329ad447c1c522195d;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 07243e7..d3a13cf 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -140,7 +140,7 @@ mkws.registerWidgetType('Records', function() { } }); - widget.autosearch(that); + that.autosearch(); }); @@ -216,7 +216,7 @@ mkws.registerWidgetType('Switch', function() { Records \ | \ Targets'); - widget.hideWhenNarrow(this); + this.hideWhenNarrow(); }); @@ -265,7 +265,7 @@ mkws.registerWidgetType('Results', function() { \ '); - widget.autosearch(this); + this.autosearch(); }); @@ -372,7 +372,7 @@ mkws.registerWidgetType('Lang', function() { } this.node.html(data); - widget.hideWhenNarrow(this); + this.hideWhenNarrow(); // set or re-set "lang" URL parameter @@ -431,7 +431,7 @@ mkws.registerWidgetType('Progress', function() { s += ''; s += ''; } - s += '█'; + s += '█'; } s += ''; that.node.html(s); @@ -448,6 +448,5 @@ mkws.registerWidgetType('Progress', function() { mkws.registerWidgetType('Query', function() {}); mkws.registerWidgetType('MOTDContainer', function() {}); mkws.registerWidgetType('Button', function() {}); -mkws.registerWidgetType('Popup', function() {});