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
1 changed files with 1 additions and 0 deletions

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