From a407b8bdc1e6b055653698da52abae40ac90e3ad Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 18 Mar 2014 14:25:14 +0000 Subject: [PATCH] Rename local variable. --- tools/htdocs/mkws.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index bf31da6..bface84 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -736,17 +736,17 @@ function team($, teamName) { // detailed record drawing that.showDetails = function (prefixRecId) { var recId = prefixRecId.replace('mkwsRec_', ''); - var oldRecId = m_curDetRecId; + var oldRecordId = m_curDetRecId; m_curDetRecId = recId; // remove current detailed view if any - var detRecordDiv = document.getElementById('mkwsDet_' + m_teamName + '_' + oldRecId); + var detRecordDiv = document.getElementById('mkwsDet_' + m_teamName + '_' + oldRecordId); // lovin DOM! if (detRecordDiv) detRecordDiv.parentNode.removeChild(detRecordDiv); // if the same clicked, just hide - if (recId == oldRecId) { + if (recId == oldRecordId) { m_curDetRecId = ''; m_curDetRecData = null; return; -- 1.7.10.4