Skip to content

Commit

Permalink
πŸ› [hotkeys] fix backalarm hotkeys in mission window
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Mar 8, 2024
1 parent a710973 commit a027d95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/hotkeys/assets/commands/mission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,19 +214,19 @@ export default <
validatorFunction: () => true,
allVehicles() {
document
.querySelector<HTMLAnchorElement>("a[href$='backalarmAll']")
.querySelector<HTMLAnchorElement>("a[href*='backalarmAll']")
?.click();
},
onlyAmbulance() {
document
.querySelector<HTMLAnchorElement>(
"a[href$='backalarmRettungsdienst']"
"a[href*='backalarmRettungsdienst']"
)
?.click();
},
abortApproach() {
document
.querySelector<HTMLAnchorElement>("a[href$='backalarmDriving']")
.querySelector<HTMLAnchorElement>("a[href*='backalarmDriving']")
?.click();
},
},
Expand Down

0 comments on commit a027d95

Please sign in to comment.