mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-12 02:40:56 +01:00
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:
parent
e5c347c8cd
commit
9c585d31b5
@ -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>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user