forked from mrlan/EnglishPal
fix Bug568
parent
00ae770195
commit
7cf9c7cf56
|
@ -230,6 +230,9 @@
|
|||
success: function(data) {
|
||||
// 更新页面内容
|
||||
if(data['today_article']){
|
||||
// answer不可见
|
||||
const e = document.getElementById('answer');
|
||||
e.style.display = 'none';
|
||||
update(data['today_article']);
|
||||
check_pre(data['visited_articles']);
|
||||
check_next(data['result_of_generate_article']);
|
||||
|
@ -244,6 +247,9 @@
|
|||
success: function(data) {
|
||||
// 更新页面内容
|
||||
if(data['today_article']){
|
||||
// answer不可见
|
||||
const e = document.getElementById('answer');
|
||||
e.style.display = 'none';
|
||||
update(data['today_article']);
|
||||
check_pre(data['visited_articles']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue