From: Mike Taylor Date: Tue, 15 Apr 2014 17:13:33 +0000 (+0100) Subject: Convert more findnode invocations to widgetNode. X-Git-Tag: 1.0.0~935 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=571327a861c81095b2dfaba948d492a573b06377;p=mkws-moved-to-github.git Convert more findnode invocations to widgetNode. NOTE TO SELF: findnode will not work during team construction. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 126f534..b986988 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -334,8 +334,8 @@ function team($, teamName) { function switchView(view) { var targets = widgetNode('Targets'); var results = findnode('.mkwsResults,.mkwsRecords'); - var blanket = findnode('.mkwsBlanket'); - var motd = findnode('.mkwsMOTD'); + var blanket = widgetNode('Blanket'); + var motd = widgetNode('MOTD'); switch(view) { case 'targets':