diff options
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/backend.js | 2 |
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 } |