summaryrefslogtreecommitdiffstats
path: root/viewer
diff options
context:
space:
mode:
Diffstat (limited to 'viewer')
-rw-r--r--viewer/MinedMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/MinedMap.js b/viewer/MinedMap.js
index f6be634..b733eca 100644
--- a/viewer/MinedMap.js
+++ b/viewer/MinedMap.js
@@ -31,7 +31,7 @@ var MinedMapLayer = L.GridLayer.extend({
mipmap.regions[coords.y-mipmap.info.minZ][coords.x-mipmap.info.minX])
tile.src = 'data/'+this.layer+'/'+z+'/r.'+coords.x+'.'+coords.y+'.png';
- if (coords.z >= 0)
+ if (z == 0)
L.DomUtil.addClass(tile, 'overzoomed');
return tile;