Skip to content

Commit

Permalink
add empty event.key for fuzzBoard events, #1053 phetsims/ratio-and-pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 14, 2020
1 parent 6393d1e commit c44c113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/accessibility/KeyboardFuzzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class KeyboardFuzzer {
eventObj.initEvent( event, true, true );
}

eventObj.key = '';
eventObj.keyCode = keyCode;
// eventObj.shiftKey = true; // TODO: we can add modifier keys in here with options?
eventObj.which = keyCode;
Expand Down

0 comments on commit c44c113

Please sign in to comment.