From: Mike Taylor Date: Fri, 28 Feb 2014 12:33:28 +0000 (+0000) Subject: Further simplify to eliminate temporary variable `node' X-Git-Tag: 1.0.0~1384^2~3 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=02b2b955694909ba438dc434b568a24e0d1fbd9b;hp=84b0d3d7033d2110e78797548f9c5c765c45ea09 Further simplify to eliminate temporary variable `node' --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 5b9ef21..be3c996 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -917,9 +917,9 @@ function team($, teamName) { mkws_html_lang(); debug("HTML search form"); - var node = $('.mkwsSearch.mkwsTeam_' + m_teamName); - mkws.handle_node_with_team(node, function(tname) { - node.html('\ + mkws.handle_node_with_team($('.mkwsSearch.mkwsTeam_' + m_teamName), + function(tname) { + this.html('\
\ \ \