diff options
Diffstat (limited to 'addon/background.js')
-rw-r--r-- | addon/background.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addon/background.js b/addon/background.js index 058f875..ac742ab 100644 --- a/addon/background.js +++ b/addon/background.js | |||
@@ -1,3 +1,5 @@ | |||
1 | /* global browser */ | ||
2 | |||
1 | browser.contextMenus.create( | 3 | browser.contextMenus.create( |
2 | { | 4 | { |
3 | id: 'map-inline-add', | 5 | id: 'map-inline-add', |
@@ -12,7 +14,7 @@ browser.contextMenus.create( | |||
12 | title: 'Open in DumbyMap', | 14 | title: 'Open in DumbyMap', |
13 | contexts: ['page', 'selection'], | 15 | contexts: ['page', 'selection'], |
14 | }, | 16 | }, |
15 | () => void browser.runtime.lastError, | 17 | () => browser.runtime.lastError, |
16 | ) | 18 | ) |
17 | 19 | ||
18 | browser.contextMenus.onClicked.addListener((info, tab) => { | 20 | browser.contextMenus.onClicked.addListener((info, tab) => { |