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:
Billy Vong 2021-12-17 12:35:47 -05:00
parent 3436873373
commit 659211e1ff

@ -291,7 +291,8 @@ export function SidebarRoot(props: IProps): React.ReactElement {
} else if (event.keyCode === KEY.W && event.altKey) {
event.preventDefault();
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();
clickJob();
} else if (event.keyCode === KEY.R && event.altKey) {