Vivaldi needs oncontextmenu->preventDefault
This commit is contained in:
parent
5e2982c33b
commit
896b004ef9
1
popup.js
1
popup.js
|
@ -334,6 +334,7 @@ Object.assign(handleEvent, {
|
||||||
// open an editor on middleclick
|
// open an editor on middleclick
|
||||||
if (event.target.matches('.entry, .style-name, .style-edit-link')) {
|
if (event.target.matches('.entry, .style-name, .style-edit-link')) {
|
||||||
this.onmouseup = () => $('.style-edit-link', this).click();
|
this.onmouseup = () => $('.style-edit-link', this).click();
|
||||||
|
this.oncontextmenu = event => event.preventDefault();
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user