mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Act on default mouse button
This commit is contained in:
parent
706c79b226
commit
8165067b9b
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ import { i18n$ } from '../i18n.js';
|
|||
};
|
||||
|
||||
const searchWidgetClickHandler = function(cm, ev) {
|
||||
if ( ev.button !== 0 ) { return; }
|
||||
const target = ev.target;
|
||||
const tcl = target.classList;
|
||||
if ( tcl.contains('cm-search-widget-up') ) {
|
||||
|
|
Loading…
Reference in a new issue