From: Wolfram Schneider Date: Thu, 13 Mar 2014 11:03:47 +0000 (+0000) Subject: IE8 does not support the map() function, and we have to use the jquery $.map(), MKWS-77 X-Git-Tag: 1.0.0~1318^2~8 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b0c71364e57f4d00aa8f4ae2c1d902dc5acd440c;p=mkws-moved-to-github.git IE8 does not support the map() function, and we have to use the jquery $.map(), MKWS-77 --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index e047215..6f57f6b 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1019,7 +1019,7 @@ function team($, teamName) { function findnode(selector, teamName) { teamName = teamName || m_teamName; - selector = selector.split(',').map(function(s) { + selector = $.map(selector.split(','), function(s, i) { return s + '.mkwsTeam_' + teamName; }).join(',');