diff --git a/translate/translate-dictionary.js b/translate/translate-dictionary.js index aa6a707..52e0506 100644 --- a/translate/translate-dictionary.js +++ b/translate/translate-dictionary.js @@ -995,7 +995,7 @@ //content = doc.documentElement; var x = doc.getElementsByClassName('word-details')[0]; if (!x) { - debugger + return htmlToDom('error: 查询无结果,可能没这个词'); } var fot = x.querySelector('.word-details-pane-footer');