From: Mike Taylor Date: Wed, 19 Mar 2014 16:07:27 +0000 (+0000) Subject: Simplify. X-Git-Tag: 1.0.0~1302 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=4a46b49eca2fe9a7b3bf01c3934215367b7e3050;p=mkws-moved-to-github.git Simplify. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 04dca89..0b0a509 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -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 = '
' + M('Displaying') + ': '