X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=c17c097bae32515104243b15e9aec559f39a3cf6;hb=7ea0e2cad7e27c5f1d09b1658e12554ceb978d66;hp=d6d7ef927c6e2444fb41678af2aeb86dd11835bb;hpb=232ed41e9d159e692817f7afde3df5b44f83a187;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index d6d7ef9..c17c097 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -276,7 +276,7 @@ function team($, teamName) { // Finds the node of the specified class within the current team function findnode(selector, teamName) { - teamName ||= m_teamName; + teamName = teamName || m_teamName; return $(selector + '.mkwsTeam_' + m_teamName); }