diff --git a/simple-translate/popup/popup.js b/simple-translate/popup/popup.js index 2bd7c40..6583cea 100644 --- a/simple-translate/popup/popup.js +++ b/simple-translate/popup/popup.js @@ -68,7 +68,7 @@ function changeLang() { if (sourceWord !== "") { translate(); } - if (url !== "") showLink(); + if (typeof (url) != "undefined") showLink(); } //アクティブなタブを取得して渡す