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:
603bad4
)
Do not attempt to hide the Termlists widget if it doesn't exist.
author
Mike Taylor
<mike@indexdata.com>
Thu, 24 Apr 2014 13:57:27 +0000
(14:57 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 24 Apr 2014 13:57:27 +0000
(14:57 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
7f55312
..
796f466
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-420,7
+420,10
@@
function team($, teamName) {
});
// on first page, hide the termlist
- $(document).ready(function() { widgetNode("Termlists").hide(); });
+ $(document).ready(function() {
+ var t = widgetNode("Termlists");
+ if (t) t.hide();
+ });
var container = findnode(".mkwsMOTDContainer");
if (container.length) {
// Move the MOTD from the provided element down into the container