mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
disregard context menu coords when launching from popup
This commit is contained in:
parent
e318f5056c
commit
f38b1a0299
1 changed files with 3 additions and 0 deletions
|
|
@ -84,6 +84,9 @@ var onMessage = function(request, sender, callback) {
|
|||
break;
|
||||
|
||||
case 'gotoPick':
|
||||
// Picker launched from popup: clear context menu args
|
||||
µb.contextMenuClientX = -1;
|
||||
µb.contextMenuClientY = -1;
|
||||
µb.elementPickerExec(request.tabId);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue