This commit is contained in:
Joseph Cheung 2023-03-01 14:52:58 +08:00
parent 8d1b880c1e
commit 6bd2dea7ba
2 changed files with 2 additions and 0 deletions

View file

@ -1191,6 +1191,7 @@ function proxify()
} }
function modal_open(url, num) function modal_open(url, num)
{ {
prev_chat = document.getElementById('chat').innerHTML;
document.getElementById('chat').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>"; document.getElementById('chat').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>";
modal.style.display = 'block'; modal.style.display = 'block';
document.querySelector("#readability-reader").innerHTML = ''; document.querySelector("#readability-reader").innerHTML = '';

View file

@ -1191,6 +1191,7 @@ function proxify()
} }
function modal_open(url, num) function modal_open(url, num)
{ {
prev_chat = document.getElementById('chat').innerHTML;
document.getElementById('chat').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>"; document.getElementById('chat').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>";
modal.style.display = 'block'; modal.style.display = 'block';
document.querySelector("#readability-reader").innerHTML = ''; document.querySelector("#readability-reader").innerHTML = '';