mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-30 14:13:38 +01:00
Merge branch 'v3.0' of git@github-home:webbukkit/dynmap.git into v3.0
This commit is contained in:
commit
69cd5777fc
@ -11,6 +11,7 @@
|
||||
<!-- These 2 lines make us fullscreen on apple mobile products - remove if you don't like that -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="theme-color" content="#000000">
|
||||
|
||||
<link rel="icon" href="images/dynmap.ico" type="image/ico" />
|
||||
|
||||
|
@ -27,7 +27,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
||||
|
||||
function loadmarkers(world) {
|
||||
removeAllMarkers();
|
||||
var url = concatURL(dynmap.options.url.markers, '_markers_/marker_'+world+'.json');
|
||||
var url = concatURL(dynmap.options.url.markers, '_markers_/marker_' + encodeURIComponent(world) + '.json');
|
||||
|
||||
$.getJSON(url, function(data) {
|
||||
var ts = data.timestamp;
|
||||
|
Loading…
Reference in New Issue
Block a user