Update markers.js
fixed issue with standalone webserver and spaces in world name, double urlencode changed %20 to %2520 which didn't resolve to the proper address
This commit is contained in:
parent
b92bd18945
commit
8e0b025e76
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
|
||||||
|
|
||||||
function loadmarkers(world) {
|
function loadmarkers(world) {
|
||||||
removeAllMarkers();
|
removeAllMarkers();
|
||||||
var url = concatURL(dynmap.options.url.markers, '_markers_/marker_' + encodeURIComponent(world) + '.json');
|
var url = concatURL(dynmap.options.url.markers, '_markers_/marker_' + world + '.json');
|
||||||
|
|
||||||
$.getJSON(url, function(data) {
|
$.getJSON(url, function(data) {
|
||||||
var ts = data.timestamp;
|
var ts = data.timestamp;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue