mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 14:27:03 +02:00
build popups
This commit is contained in:
@@ -11,7 +11,6 @@ export function KeyHandler(props: IProps): React.ReactElement {
|
||||
|
||||
function onKeyDown(event: React.KeyboardEvent<HTMLElement>): void {
|
||||
if (!event.isTrusted) {
|
||||
console.log("untrusted event!");
|
||||
props.onFailure({ automated: true });
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user