From: Mike Taylor Date: Tue, 18 Mar 2014 14:25:14 +0000 (+0000) Subject: Rename local variable. X-Git-Tag: 1.0.0~1309^2~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a407b8bdc1e6b055653698da52abae40ac90e3ad;p=mkws-moved-to-github.git Rename local variable. --- 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;