mirror of https://github.com/gorhill/uBlock.git
ignore "Delete" key in element picker mode
This commit is contained in:
parent
c7a9befdab
commit
5b66a8419d
|
@ -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 New Issue