From aba93ea47440231c7363706df8cf28d38caa331e Mon Sep 17 00:00:00 2001 From: fthvgb1 Date: Sat, 25 Jan 2020 18:52:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89debugger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- translate/translate-dictionary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');