Fixed undefined error in popup.js

This commit is contained in:
sienori 2017-12-28 03:19:45 +09:00
parent 578fe7c56a
commit 20e49783ff

View file

@ -68,7 +68,7 @@ function changeLang() {
if (sourceWord !== "") {
translate();
}
if (url !== "") showLink();
if (typeof (url) != "undefined") showLink();
}
//アクティブなタブを取得して渡す