Fix not to display "null" when open popup

This commit is contained in:
sienori 2019-02-07 02:17:25 +09:00
parent ca0fac4bd1
commit 670b149d13

View file

@ -89,7 +89,7 @@ function getSelectionWord(tabs) {
message: "fromPopup"
})
.then(response => {
sourceWord = response.word;
sourceWord = response.word || "";
url = response.url;
refleshSource();
showLink();