mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-24 17:47:40 +01:00
Fix selectWorld typo when world is a string
This commit is contained in:
parent
d24857ca64
commit
bb3d5e240c
@ -569,7 +569,7 @@ DynMap.prototype = {
|
||||
},
|
||||
selectWorldAndPan: function(world, location, completed) {
|
||||
var me = this;
|
||||
if (typeof(world) === 'String') { world = me.worlds[world]; }
|
||||
if (typeof(world) === 'string') { world = me.worlds[world]; }
|
||||
if (me.world === world) {
|
||||
if(location) {
|
||||
var latlng = me.maptype.getProjection().fromLocationToLatLng(location);
|
||||
|
Loading…
Reference in New Issue
Block a user