mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-27 17:01:30 +00:00
no-bug: Support glane right click event register (gh-13379)
This commit is contained in:
@@ -50,6 +50,9 @@ export class ZenGlanceChild extends JSWindowActorChild {
|
||||
|
||||
#sendClickDataToParent(node, originalTarget) {
|
||||
if (!node) {
|
||||
node = originalTarget;
|
||||
}
|
||||
if (!node?.getBoundingClientRect) {
|
||||
return;
|
||||
}
|
||||
// Get the largest element we can get. If the `A` element
|
||||
|
||||
Reference in New Issue
Block a user