From 7ea0e2cad7e27c5f1d09b1658e12554ceb978d66 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 28 Feb 2014 15:45:29 +0000 Subject: [PATCH] Stupid JS doesn't have the ||= operator. --- tools/htdocs/mkws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index d6d7ef9..c17c097 100644 --- 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); } -- 1.7.10.4