1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

disregard context menu coords when launching from popup

This commit is contained in:
gorhill 2014-09-28 15:33:20 -04:00
parent e318f5056c
commit f38b1a0299

View File

@ -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;