1
0
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:
Raymond Hill 2024-03-14 09:14:15 -04:00
parent 706c79b226
commit 8165067b9b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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') ) {