mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Removed the radix 10 from parseInt calls as it is the default.
This commit is contained in:
parent
49c95f15ca
commit
b71f8bd208
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user