projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15c9f73
)
Remove unused "none" case from switchView.
author
Mike Taylor
<mike@indexdata.com>
Tue, 29 Apr 2014 12:46:04 +0000
(13:46 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 29 Apr 2014 12:46:04 +0000
(13:46 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
759a1a7
..
2b962a2
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-314,13
+314,6
@@
function team($, teamName) {
if (blanket) blanket.css('display', 'block');
if (motd) motd.css('display', 'none');
break;
- case 'none':
- alert("mkws.switchView(" + m_teamName + ", 'none') shouldn't happen");
- if (targets) targets.css('display', 'none');
- if (results) results.css('display', 'none');
- if (blanket) blanket.css('display', 'none');
- if (motd) motd.css('display', 'none');
- break;
default:
alert("Unknown view '" + view + "'");
}