Fix findnode() logic for allowing default team-name to be overridden.
authorMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 15:47:24 +0000 (15:47 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 15:47:24 +0000 (15:47 +0000)
tools/htdocs/mkws.js

index c17c097..710e47f 100644 (file)
@@ -277,7 +277,7 @@ function team($, teamName) {
     // Finds the node of the specified class within the current team
     function findnode(selector, teamName) {
        teamName = teamName || m_teamName;
-        return $(selector + '.mkwsTeam_' + m_teamName);
+        return $(selector + '.mkwsTeam_' + teamName);
     }