mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
code review for https://github.com/uBlockOrigin/uBlock-issues/issues/106
This commit is contained in:
parent
20c95455e4
commit
fbaf8b4e2f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user