mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
Act on default mouse button
This commit is contained in:
parent
706c79b226
commit
8165067b9b
@ -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 New Issue
Block a user