Fix not to display "null" when open popup
This commit is contained in:
parent
ca0fac4bd1
commit
670b149d13
|
@ -89,7 +89,7 @@ function getSelectionWord(tabs) {
|
||||||
message: "fromPopup"
|
message: "fromPopup"
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
sourceWord = response.word;
|
sourceWord = response.word || "";
|
||||||
url = response.url;
|
url = response.url;
|
||||||
refleshSource();
|
refleshSource();
|
||||||
showLink();
|
showLink();
|
||||||
|
|
Loading…
Reference in a new issue