Simplify.
authorMike Taylor <mike@indexdata.com>
Wed, 19 Mar 2014 16:07:27 +0000 (16:07 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 19 Mar 2014 16:07:27 +0000 (16:07 +0000)
tools/htdocs/mkws.js

index 04dca89..0b0a509 100644 (file)
@@ -282,9 +282,7 @@ function widget($, team, type, node) {
 
     function promotePager() {
        team.queue("pager").subscribe(function(data) {
-           if (node) {
-               $(node).html(drawPager(data))
-           }
+           $(node).html(drawPager(data))
 
            function drawPager(data) {
                var s = '<div style="float: right">' + M('Displaying') + ': '