mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Fixed map-icons.
This commit is contained in:
parent
8d70839d3b
commit
a4564889df
@ -106,7 +106,7 @@ web:
|
|||||||
# title: Surface # The name of the map that will be displayed.
|
# title: Surface # The name of the map that will be displayed.
|
||||||
# name: surface # The actual name of the map (should be unique for this world).
|
# name: surface # The actual name of the map (should be unique for this world).
|
||||||
# prefix: t # The prefix of the tile-files that are generated.
|
# prefix: t # The prefix of the tile-files that are generated.
|
||||||
# icon: block_other.png # Sets a custom icon for the map. (optional)
|
# icon: images/block_other.png # Sets a custom icon for the map. (optional)
|
||||||
# - type: KzedMapType
|
# - type: KzedMapType
|
||||||
# title: Cave
|
# title: Cave
|
||||||
# name: cave
|
# name: cave
|
||||||
|
@ -158,7 +158,7 @@ DynMap.prototype = {
|
|||||||
.append($('<a/>')
|
.append($('<a/>')
|
||||||
.attr({ title: map.title, href: '#' })
|
.attr({ title: map.title, href: '#' })
|
||||||
.addClass('maptype')
|
.addClass('maptype')
|
||||||
.css({ backgroundImage: 'url(' + (map.icon || 'block_' + map.name + '.png') + ')' })
|
.css({ backgroundImage: 'url(' + (map.icon || 'images/block_' + map.name + '.png') + ')' })
|
||||||
.text(map.title)
|
.text(map.title)
|
||||||
)
|
)
|
||||||
.click(function() {
|
.click(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user