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:
232ed41
)
Stupid JS doesn't have the ||= operator.
author
Mike Taylor
<mike@indexdata.com>
Fri, 28 Feb 2014 15:45:29 +0000
(15:45 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 28 Feb 2014 15:45:29 +0000
(15:45 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
d6d7ef9
..
c17c097
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-276,7
+276,7
@@
function team($, teamName) {
// Finds the node of the specified class within the current team
function findnode(selector, teamName) {
- teamName ||= m_teamName;
+ teamName = teamName || m_teamName;
return $(selector + '.mkwsTeam_' + m_teamName);
}