handle_node_with_team() sets `this' to the node in the callback.
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index 2df7c12..ca77487 100644 (file)
@@ -1252,7 +1252,7 @@ function team($, teamName) {
                type = cname.replace(/^mkws/, '');
            }
        }
-       callback.call(this, teamName, type);
+       callback.call(node, teamName, type);
     }