mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Merge pull request #1985 from billyvg/fix/prevent-ctrl-alt-j-navigation
Prevent `ctrl+alt+j` from navigating to Jobs
This commit is contained in:
commit
5b79712817
@ -292,7 +292,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