This commit is contained in:
Joseph Cheung 2023-03-06 00:59:19 +08:00
parent 156dc1b408
commit 322023ed09
2 changed files with 2 additions and 2 deletions

View file

@ -1292,7 +1292,7 @@ function modal_open(url, num)
{ {
if(lock_chat==1) return; if(lock_chat==1) return;
prev_chat = document.getElementById('chat_talk').innerHTML; prev_chat = document.getElementById('chat_talk').innerHTML;
if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ PDF +'</a>'+"</div>";} if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ 'PDF' +'</a>'+"</div>";}
else{ document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>";} else{ document.getElementById('chat_talk').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

@ -1292,7 +1292,7 @@ function modal_open(url, num)
{ {
if(lock_chat==1) return; if(lock_chat==1) return;
prev_chat = document.getElementById('chat_talk').innerHTML; prev_chat = document.getElementById('chat_talk').innerHTML;
if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ PDF +'</a>'+"</div>";} if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ 'PDF' +'</a>'+"</div>";}
else{ document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>";} else{ document.getElementById('chat_talk').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 = '';