don't allow toggleLastLeg if globeIndex isn't active
This commit is contained in:
@@ -2852,6 +2852,8 @@ function togglePersistence() {
|
||||
}
|
||||
|
||||
function toggleLastLeg() {
|
||||
if (!globeIndex)
|
||||
return;
|
||||
if (lastLeg) {
|
||||
lastLeg = false;
|
||||
localStorage['lastLeg'] = "false";
|
||||
|
||||
Reference in New Issue
Block a user