summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index f0ed986c..f17e8897 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -1301,7 +1301,7 @@ class Backend {
chrome.tabs.sendMessage(tab.id, {action: 'getUrl'}, {frameId: 0}, (response) => {
let url = null;
try {
- url = yomichan.getMessageResponseResult(response);
+ ({url} = yomichan.getMessageResponseResult(response));
} catch (error) {
// NOP
}