1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00
This commit is contained in:
Raymond Hill 2018-07-19 06:46:40 -04:00
parent 20c95455e4
commit fbaf8b4e2f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -146,11 +146,11 @@
} }
return; return;
} }
/* status === 1 */ if ( status === 1 ) {
let key = validStatus1Codes.get(ev.code); let key = validStatus1Codes.get(ev.code);
if ( key === 'Shift' ) { if ( key === 'Shift' ) {
after.add('Shift'); after.add('Shift');
input.value = Array.from(after).join('+'); updateCapturedShortcut();
return; return;
} }
if ( key !== undefined ) { if ( key !== undefined ) {
@ -160,6 +160,7 @@
input.blur(); input.blur();
return; return;
} }
}
}; };
let keyupHandler = function(ev) { let keyupHandler = function(ev) {