Skip to content

Commit 8571ba7

Browse files
committed
docs(events): fix keyboard wangdoc#123
1 parent a50171f commit 8571ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/events/keyboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function showChar(e) {
5656
console.log('ALT: ' + e.altKey);
5757
console.log('CTRL: ' + e.ctrlKey);
5858
console.log('Meta: ' + e.metaKey);
59-
console.log('Meta: ' + e.shiftKey);
59+
console.log('Shift: ' + e.shiftKey);
6060
}
6161

6262
document.body.addEventListener('keydown', showChar, false);

0 commit comments

Comments
 (0)