Fix a couple of escaped selectors to use findnode()
authorMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 16:23:42 +0000 (16:23 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 16:23:42 +0000 (16:23 +0000)
tools/htdocs/mkws.js

index 177aa98..a1f6f70 100644 (file)
@@ -957,8 +957,8 @@ function team($, teamName) {
        //      .mkwsPager
        //      .mkwsNavi
        //      .mkwsRecords
-       if ($(".mkwsResults.mkwsTeam_" + m_teamName).length) {
-           $(".mkwsResults.mkwsTeam_" + m_teamName).html('\
+       if (findnode(".mkwsResults").length) {
+           findnode(".mkwsResults").html('\
 <table width="100%" border="0" cellpadding="6" cellspacing="0">\
   <tr>\
     <td class="mkwsTermlistContainer1 mkwsTeam_' + m_teamName + '" width="250" valign="top">\