From ebe99080bb2afa7262453453dfea54262575cbe8 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 5 Jul 2013 17:13:10 +0100 Subject: [PATCH] In switchView(), refer to #mkwsResults rather than #mkwsRecords --- experiments/spclient/mkws.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index 5a62faf..8c856f2 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -398,23 +398,23 @@ function pagerPrev() { function switchView(view) { var targets = document.getElementById('mkwsTargets'); - var records = document.getElementById('mkwsResults'); + var results = document.getElementById('mkwsResults'); var blanket = document.getElementById('mkwsBlanket'); switch(view) { case 'targets': targets.style.display = "block"; - if (records) records.style.display = "none"; + if (results) results.style.display = "none"; if (blanket) { blanket.style.display = "none"; } break; - case 'records': + case 'results': targets.style.display = "none"; - if (records) records.style.display = "block"; + if (results) results.style.display = "block"; if (blanket) { blanket.style.display = "block"; } break; case 'none': targets.style.display = "none"; - if (records) records.style.display = "none"; + if (results) results.style.display = "none"; if (blanket) { blanket.style.display = "none"; } break; default: -- 1.7.10.4