Skip to content

Commit

Permalink
Use uppercase letters in hints
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Oct 16, 2017
1 parent dbe55d0 commit ba5bf99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions More_keyboard_hotkeys.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

(function () {
// Configuration
var keys = '1234567890abcdefghijklmnopqrstuvwxyz';
var keys = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ';

// React/Duolingo obfuscated class names
var classNameButton = 'iNLw3'; // Button representing a word or letter
Expand Down Expand Up @@ -148,7 +148,7 @@
// Key event handler
document.addEventListener('keydown', function(event) {
try {
var c = event.key.toLowerCase();
var c = event.key.toUpperCase();
if (c in currentButtons) {
//log('Dispatching!');
currentButtons[c].click();
Expand Down

0 comments on commit ba5bf99

Please sign in to comment.