Removed the radix 10 from parseInt calls as it is the default.

This commit is contained in:
Sascha L. Teichmann 2015-03-04 08:55:20 +01:00
parent 49c95f15ca
commit b71f8bd208

View File

@ -94,9 +94,9 @@ L.Control.AutoUpdate = L.Control.extend({
if (coord == null) { if (coord == null) {
continue; continue;
} }
var y = parseInt(coord[1], 10); var y = parseInt(coord[1]);
var x = parseInt(coord[2], 10); var x = parseInt(coord[2]);
var z = parseInt(coord[3], 10); var z = parseInt(coord[3]);
if (invalidate(x, y, z)) { if (invalidate(x, y, z)) {
var idx = src.lastIndexOf('#'); var idx = src.lastIndexOf('#');
if (idx >= 0) { if (idx >= 0) {