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) => {
|
chrome.tabs.sendMessage(tab.id, {action: 'getUrl'}, {frameId: 0}, (response) => {
|
||||||
let url = null;
|
let url = null;
|
||||||
try {
|
try {
|
||||||
url = yomichan.getMessageResponseResult(response);
|
({url} = yomichan.getMessageResponseResult(response));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// NOP
|
// NOP
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user