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"
|
||||
})
|
||||
.then(response => {
|
||||
sourceWord = response.word;
|
||||
sourceWord = response.word || "";
|
||||
url = response.url;
|
||||
refleshSource();
|
||||
showLink();
|
||||
|
|
Loading…
Reference in a new issue