1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Use webext.menus, not browser.contextMenus (oops)

This commit is contained in:
Raymond Hill 2019-09-20 07:59:21 -04:00
parent 4f89a6f89d
commit 0c6407c082
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1202,7 +1202,7 @@ vAPI.Net = class {
// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextMenus#Browser_compatibility
// Firefox for Android does no support browser.contextMenus.
vAPI.contextMenu = browser.contextMenus && {
vAPI.contextMenu = webext.menus && {
_callback: null,
_entries: [],
_createEntry: function(entry) {