Don't add spans to p[0] unless there are 5 items in the array.

Otherwise it breaks the lastSeen/imgSubstr functionality.
This commit is contained in:
fescen9 2010-12-11 23:24:29 +00:00
parent e5c347c8cd
commit 9c585d31b5
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ function makeRequest(url, func, type, fail, post, contenttype)
if(p[0] == '') continue;
// Hack to keep duplicate markers from conflicting with eachother
if (p[1] != 'player') {
if (p[1] != 'player' && p.length == 5) {
p[0] = p[0] + '<span style="display:none;">' + p[1] + '</span>';
}