From af763f5738e21aa60891e19e732c8ade5ec217b6 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 16 Apr 2014 12:10:49 +0100 Subject: [PATCH] Template nodes are found using widgetNode. --- src/mkws-team.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index 38b8507..f956e55 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -641,9 +641,9 @@ function team($, teamName) { if (template === undefined) { // Fall back to generic template if there is no team-specific one - var node = findnode(".mkwsTemplate_" + name); + var node = widgetNode("Template_" + name); if (!node.length) { - node = findnode(".mkwsTemplate_" + name, "ALL"); + node = widgetNode("Template_" + name, "ALL"); } var source = node.html(); -- 1.7.10.4