From 5628c1bdc4b74e4a5601ed28956a3ec9733573de Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 16 Apr 2014 11:26:37 +0100 Subject: [PATCH] Change last findnode call in switchView to a pair of widgetNode calls. --- src/mkws-team.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 1.7.10.4