revert listening to 'click' event on locate btn
This commit is contained in:
parent
45fe01c30f
commit
134aef52c5
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@
|
|||
let action = toolbarbutton.dataset.action;
|
||||
|
||||
if (action === 'locate') {
|
||||
toolbarbutton.addEventListener('click', async (event) => {
|
||||
toolbarbutton.addEventListener('mousedown', async (event) => {
|
||||
if (event.button !== 0 || toolbarbutton.open) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue