From: Mike Taylor Date: Fri, 5 Jul 2013 16:13:51 +0000 (+0100) Subject: Remove unnecessary braces. X-Git-Tag: 0.9.1~307^2~6 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=8dda95d66aaa1e5aaab7d2bf67e4ec1a13201b24;p=mkws-moved-to-github.git Remove unnecessary braces. --- diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index be9f10a..92fbfd0 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -405,17 +405,17 @@ function switchView(view) { case 'targets': if (targets) targets.style.display = "block"; if (results) results.style.display = "none"; - if (blanket) { blanket.style.display = "none"; } + if (blanket) blanket.style.display = "none"; break; case 'results': if (targets) targets.style.display = "none"; if (results) results.style.display = "block"; - if (blanket) { blanket.style.display = "block"; } + if (blanket) blanket.style.display = "block"; break; case 'none': if (targets) targets.style.display = "none"; if (results) results.style.display = "none"; - if (blanket) { blanket.style.display = "none"; } + if (blanket) blanket.style.display = "none"; break; default: alert('Unknown view.');