mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
ignore "Delete" key in element picker mode
This commit is contained in:
parent
c7a9befdab
commit
5b66a8419d
1 changed files with 1 additions and 1 deletions
|
|
@ -1344,7 +1344,7 @@ var svgListening = function(on) {
|
|||
|
||||
var onKeyPressed = function(ev) {
|
||||
// Delete
|
||||
if ( ev.key === 'Delete' ) {
|
||||
if ( ev.key === 'Delete' && pickerBody.classList.contains('zap') ) {
|
||||
ev.stopPropagation();
|
||||
ev.preventDefault();
|
||||
zap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue