diff --git a/app/static/js/highlight.js b/app/static/js/highlight.js index 625fdc0..1003918 100644 --- a/app/static/js/highlight.js +++ b/app/static/js/highlight.js @@ -71,14 +71,13 @@ function fillInWord2() { cancelHighlighting(); } -function ChangeHighlight() { +function toggleHighlighting() { if (isHighlight) { isHighlight = false; cancelHighlighting(); } else { isHighlight = true; highLight(); - } } diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html index be503e6..9e3891b 100644 --- a/app/templates/userpage_get.html +++ b/app/templates/userpage_get.html @@ -38,7 +38,7 @@

阅读文章并回答问题

{{ today_article|safe }}
- 生词高亮 + 生词高亮 大声朗读 划词入库