mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Use webext.menus
, not browser.contextMenus
(oops)
This commit is contained in:
parent
4f89a6f89d
commit
0c6407c082
@ -1202,7 +1202,7 @@ vAPI.Net = class {
|
|||||||
// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextMenus#Browser_compatibility
|
// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextMenus#Browser_compatibility
|
||||||
// Firefox for Android does no support browser.contextMenus.
|
// Firefox for Android does no support browser.contextMenus.
|
||||||
|
|
||||||
vAPI.contextMenu = browser.contextMenus && {
|
vAPI.contextMenu = webext.menus && {
|
||||||
_callback: null,
|
_callback: null,
|
||||||
_entries: [],
|
_entries: [],
|
||||||
_createEntry: function(entry) {
|
_createEntry: function(entry) {
|
||||||
|
Loading…
Reference in New Issue
Block a user