fix bug
This commit is contained in:
1 file changed
+1
@@ -45,6 +45,7 @@
|
|||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
if(route[route.length - 1].station != to) {
|
if(route[route.length - 1].station != to) {
|
||||||
|
disabled = false
|
||||||
return alert(`Oops, your route doesn't end at ${agency.stations[to].stop_name}!`)
|
return alert(`Oops, your route doesn't end at ${agency.stations[to].stop_name}!`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user