mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
6fbb97d865
commit
500d8bf625
2 changed files with 6 additions and 4 deletions
|
@ -1139,7 +1139,7 @@ prev_chat = prev_chat+'<div class="chat_question">'+document.querySelector("#pro
|
|||
chatTemp=chatTemp.replaceAll("\n\n","\n").replaceAll("\n\n","\n")
|
||||
document.querySelector("#prompt").innerHTML="";
|
||||
markdownToHtml(beautify(chatTemp), document.querySelector("#prompt"))
|
||||
|
||||
proxify()
|
||||
document.getElementById('chat').innerHTML = prev_chat+'<div class="chat_answer">'+document.querySelector("#prompt").innerHTML+"</div>";
|
||||
|
||||
})
|
||||
|
@ -1322,6 +1322,7 @@ function proxify()
|
|||
{
|
||||
try{
|
||||
for(let i=prompt.url_proxy.length;i>=0;--i)
|
||||
if(document.querySelector("#fnref\\:"+String(i)))
|
||||
document.querySelector("#fnref\\:"+String(i)).href = prompt.url_proxy[i]
|
||||
|
||||
}catch(e){}
|
||||
|
|
|
@ -1139,7 +1139,7 @@ prev_chat = prev_chat+'<div class="chat_question">'+document.querySelector("#pro
|
|||
chatTemp=chatTemp.replaceAll("\n\n","\n").replaceAll("\n\n","\n")
|
||||
document.querySelector("#prompt").innerHTML="";
|
||||
markdownToHtml(beautify(chatTemp), document.querySelector("#prompt"))
|
||||
|
||||
proxify()
|
||||
document.getElementById('chat').innerHTML = prev_chat+'<div class="chat_answer">'+document.querySelector("#prompt").innerHTML+"</div>";
|
||||
|
||||
})
|
||||
|
@ -1322,6 +1322,7 @@ function proxify()
|
|||
{
|
||||
try{
|
||||
for(let i=prompt.url_proxy.length;i>=0;--i)
|
||||
if(document.querySelector("#fnref\\:"+String(i)))
|
||||
document.querySelector("#fnref\\:"+String(i)).href = prompt.url_proxy[i]
|
||||
|
||||
}catch(e){}
|
||||
|
|
Loading…
Add table
Reference in a new issue