From: Mike Taylor Date: Thu, 27 Feb 2014 16:04:33 +0000 (+0000) Subject: Use `this' instead of temporary. X-Git-Tag: 1.0.0~1388 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=a0194744c6dd03a9bc6bf788d3a1b46db5b6b0e1 Use `this' instead of temporary. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 95c3b74..2ac55f6 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -918,7 +918,7 @@ function team($, teamName) { // ### There is only one match here by design: fix not to bother looping $('.mkwsSearch.mkwsTeam_' + m_teamName).each(function (i, obj) { var node = this; - mkws.handle_node_with_team(node, function(tname) { + mkws.handle_node_with_team(this, function(tname) { $(node).html('\
\ \