0
0
Fork 0
EnglishPal/app/static
王志豪 e10dbf9d67 Bug507-WuWenZhuo (#70)
### 修复了生词簿为空时,双击文章单词无法高亮的问题
通过增加一个判断,判断生词簿为空时,不把生词簿的内容进行处理,仅处理选中单词。

### 修复了生词簿为空时,取消高亮后,导致文章格式混乱的问题
原代码中,从数据库提取文章放到网页上时,使用的是.innerText的方法,导致原文章里包含的<br>标签丢失,导致文章格式混乱的问题。

Co-authored-by: unknown <Alcatraz@qq.com>
Co-authored-by: Hui Lan <lanhui@zjnu.edu.cn>
Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/70
Co-authored-by: 王志豪 <1594799762@qq.com>
Co-committed-by: 王志豪 <1594799762@qq.com>
2023-01-29 12:48:52 +08:00
..
css Bug505-ZhangYiteng (#61) 2022-12-03 20:52:01 +08:00
frequency Made folder 'frequency' under folder 'static', and added a README file under folder 'frequency' 2022-12-06 16:06:13 +08:00
js Bug507-WuWenZhuo (#70) 2023-01-29 12:48:52 +08:00
usr Repalce old app folder with SoftArch王炫/english-pal-master/app/ 2022-01-26 21:10:09 +08:00
config.yml [REFACTOR] user_service.py: Added id to user name, word and frequency for click to execute AJAX request in JS (#30) 2022-07-18 13:29:04 +08:00
wordfreqapp.sql app/static/wordfreqapp.sql: one article on taking photos. 2021-07-17 10:47:12 +08:00
wordfreqapp_schema.sql Publish EnglishPal source code 2021-04-06 16:22:03 +08:00
words_and_tests.p Publish EnglishPal source code 2021-04-06 16:22:03 +08:00