From: Mike Taylor Date: Wed, 16 Apr 2014 10:26:37 +0000 (+0100) Subject: Change last findnode call in switchView to a pair of widgetNode calls. X-Git-Tag: 1.0.0~934 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=5628c1bdc4b74e4a5601ed28956a3ec9733573de;p=mkws-moved-to-github.git Change last findnode call in switchView to a pair of widgetNode calls. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index b986988..2f0d384 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -333,7 +333,7 @@ function team($, teamName) { // switching view between targets and records function switchView(view) { var targets = widgetNode('Targets'); - var results = findnode('.mkwsResults,.mkwsRecords'); + var results = widgetNode('Results') || widgetNode('Records'); var blanket = widgetNode('Blanket'); var motd = widgetNode('MOTD');