Commit 0caf20b2 authored by Kevin Abel's avatar Kevin Abel
Browse files

Add boolean for quickly turning buses on/off by default

parent a1434a61
......@@ -6,6 +6,7 @@
markerData = {},
buildingAliases = {},
isReady = false,
busesOnByDefault = true,
initMarkers = [],
initBuilding,
......@@ -356,7 +357,9 @@
$selectMarkers.append($busCtl);
// turn buses on by default
// $busCtl.click();
if (busesOnByDefault) {
$busCtl.click();
}
// Set up state change monitoring
$(window).on('hashchange', function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment