fetching a file from the Internet must be atomar
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index e047215..6f57f6b 100644 (file)
@@ -1019,7 +1019,7 @@ function team($, teamName) {
     function findnode(selector, teamName) {
        teamName = teamName || m_teamName;
 
-       selector = selector.split(',').map(function(s) {
+       selector = $.map(selector.split(','), function(s, i) {
            return s + '.mkwsTeam_' + teamName;
        }).join(',');