mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Prevent ctrl+alt+j
from navigating to Jobs
This is a browser hot key to open the Chrome Developer Tools.
This commit is contained in:
parent
3436873373
commit
659211e1ff
@ -291,7 +291,8 @@ export function SidebarRoot(props: IProps): React.ReactElement {
|
|||||||
} else if (event.keyCode === KEY.W && event.altKey) {
|
} else if (event.keyCode === KEY.W && event.altKey) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
clickCity();
|
clickCity();
|
||||||
} else if (event.keyCode === KEY.J && event.altKey) {
|
} else if (event.keyCode === KEY.J && event.altKey && !event.ctrlKey && !event.metaKey) {
|
||||||
|
// ctrl/cmd + alt + j is shortcut to open Chrome dev tools
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
clickJob();
|
clickJob();
|
||||||
} else if (event.keyCode === KEY.R && event.altKey) {
|
} else if (event.keyCode === KEY.R && event.altKey) {
|
||||||
|
Loading…
Reference in New Issue
Block a user