Revert script.js indent changes from d00b07f361
This commit is contained in:
parent
d663094985
commit
e1278c36f7
|
@ -450,7 +450,8 @@ function initialize_map() {
|
||||||
if (FollowSelected) {
|
if (FollowSelected) {
|
||||||
// On manual navigation, disable follow
|
// On manual navigation, disable follow
|
||||||
var selected = Planes[SelectedPlane];
|
var selected = Planes[SelectedPlane];
|
||||||
if (Math.abs(GoogleMap.getCenter().lat() - selected.position.lat()) > 0.0001 && Math.abs(GoogleMap.getCenter().lng() - selected.position.lng()) > 0.0001) {
|
if (Math.abs(GoogleMap.getCenter().lat() - selected.position.lat()) > 0.0001 &&
|
||||||
|
Math.abs(GoogleMap.getCenter().lng() - selected.position.lng()) > 0.0001) {
|
||||||
FollowSelected = false;
|
FollowSelected = false;
|
||||||
refreshSelected();
|
refreshSelected();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue