mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Remove marker label field if label for marker is blank ("")
This commit is contained in:
parent
3c849b9d66
commit
4a3e95a118
@ -78,7 +78,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
||||
.addClass('markerName' + marker.dim)
|
||||
.append(marker.label));
|
||||
}
|
||||
else
|
||||
else if(marker.label != "")
|
||||
$(div).append($('<span/>')
|
||||
.addClass(configuration.showlabel?'markerName-show':'markerName')
|
||||
.addClass('markerName_' + set.id)
|
||||
|
Loading…
Reference in New Issue
Block a user