X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=aeb0d129f8dca8717da6753b54f8a7b4896c45a4;hb=3ef390ce1f70178ffc78957ccb74216ce169fd59;hp=d7d79519414320ea3ca0c3c86163a8561d31e6fd;hpb=88e67f027a5e65c663b5af176fb2053c91dcc900;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index d7d7951..aeb0d12 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -275,7 +275,8 @@ function team($, teamName) { // Finds the node of the specified class within the current team - function findnode(selector) { + function findnode(selector, teamName) { + teamName ||= m_teamName; return $(selector + '.mkwsTeam_' + m_teamName); }