Skip to content

Commit

Permalink
pressT
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Apr 7, 2022
1 parent 91444ac commit 99156d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
## Toggles

- mil - Military/Interesting.
- tempTrails - enable temporary aircraft trails.
- tempTrails - enable temporary aircraft trails / tracks.
- mobile - Force mobile view.
- desktop - force desktop view.
- kiosk - force kiosk mode (tempTrails=true / hideButtons=true / userScale=2).
- allTracks - enable tracks as if pressing T
6 changes: 4 additions & 2 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ function initPage() {
}
}

if (usp.has('allTracks')) {
SelectedAllPlanes = true;
buttonActive('#T', SelectedAllPlanes);
}
if (usp.has('tempTrails')) {
tempTrails = true;
let tmp = parseInt(usp.get('tempTrails'));
Expand Down Expand Up @@ -3846,8 +3850,6 @@ function selectAllPlanes() {
}
refreshFeatures();

jQuery('#selectall_checkbox').addClass('settingsCheckboxChecked');

refreshSelected();
refreshHighlighted();
pTracks || TAR.planeMan.refresh();
Expand Down

0 comments on commit 99156d3

Please sign in to comment.