mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
0b334c7cf8
commit
6fbb97d865
2 changed files with 10 additions and 6 deletions
|
@ -1100,7 +1100,6 @@ function send_webchat(elem)
|
||||||
|
|
||||||
document.querySelector("#prompt").innerHTML="";
|
document.querySelector("#prompt").innerHTML="";
|
||||||
markdownToHtml(beautify(word), document.querySelector("#prompt"))
|
markdownToHtml(beautify(word), document.querySelector("#prompt"))
|
||||||
proxify()
|
|
||||||
chatTextRaw = "提问:" + word + "\n回答:";
|
chatTextRaw = "提问:" + word + "\n回答:";
|
||||||
chatTemp = ""
|
chatTemp = ""
|
||||||
text_offset = -1;
|
text_offset = -1;
|
||||||
|
@ -1321,9 +1320,12 @@ for(let i=prompt.url_pair.length;i>=0;--i)
|
||||||
|
|
||||||
function proxify()
|
function proxify()
|
||||||
{
|
{
|
||||||
|
try{
|
||||||
for(let i=prompt.url_proxy.length;i>=0;--i)
|
for(let i=prompt.url_proxy.length;i>=0;--i)
|
||||||
document.querySelector("#fnref\\:"+String(i)).href = prompt.url_proxy[i]
|
document.querySelector("#fnref\\:"+String(i)).href = prompt.url_proxy[i]
|
||||||
|
|
||||||
|
}catch(e){}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function chatmore()
|
function chatmore()
|
||||||
|
|
|
@ -1100,7 +1100,6 @@ function send_webchat(elem)
|
||||||
|
|
||||||
document.querySelector("#prompt").innerHTML="";
|
document.querySelector("#prompt").innerHTML="";
|
||||||
markdownToHtml(beautify(word), document.querySelector("#prompt"))
|
markdownToHtml(beautify(word), document.querySelector("#prompt"))
|
||||||
proxify()
|
|
||||||
chatTextRaw = "提问:" + word + "\n回答:";
|
chatTextRaw = "提问:" + word + "\n回答:";
|
||||||
chatTemp = ""
|
chatTemp = ""
|
||||||
text_offset = -1;
|
text_offset = -1;
|
||||||
|
@ -1321,9 +1320,12 @@ for(let i=prompt.url_pair.length;i>=0;--i)
|
||||||
|
|
||||||
function proxify()
|
function proxify()
|
||||||
{
|
{
|
||||||
|
try{
|
||||||
for(let i=prompt.url_proxy.length;i>=0;--i)
|
for(let i=prompt.url_proxy.length;i>=0;--i)
|
||||||
document.querySelector("#fnref\\:"+String(i)).href = prompt.url_proxy[i]
|
document.querySelector("#fnref\\:"+String(i)).href = prompt.url_proxy[i]
|
||||||
|
|
||||||
|
}catch(e){}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function chatmore()
|
function chatmore()
|
||||||
|
|
Loading…
Add table
Reference in a new issue