summaryrefslogtreecommitdiff
path: root/ext/js/background/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background/backend.js')
-rw-r--r--ext/js/background/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js
index 88912b70..57e934c5 100644
--- a/ext/js/background/backend.js
+++ b/ext/js/background/backend.js
@@ -1315,7 +1315,7 @@ export class Backend {
id: 'yomitan_lookup',
title: 'Lookup in Yomitan',
contexts: ['selection'],
- });
+ }, () => this._checkLastError(chrome.runtime.lastError));
chrome.contextMenus.onClicked.addListener((info) => {
if (info.selectionText) {
this._sendMessageAllTabsIgnoreResponse({action: 'frontendScanSelectedText'});