Fix incorrect URL being used (#669)
This commit is contained in:
parent
a13a68990e
commit
ffc0b6588e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user