mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
p'
This commit is contained in:
parent
fa12402b9e
commit
88ee2841aa
2 changed files with 597 additions and 3 deletions
596
searx/webapp.py
596
searx/webapp.py
File diff suppressed because one or more lines are too long
|
@ -1160,9 +1160,9 @@ function proxify()
|
||||||
{
|
{
|
||||||
if(document.querySelector("#fnref\\:"+String(i+1)))
|
if(document.querySelector("#fnref\\:"+String(i+1)))
|
||||||
{
|
{
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {modal_open(prompt.url_proxy[document.querySelector("#fnref\\:"+String(i+1)).href]); modal.style.display = 'block'; });
|
let tmp_url = document.querySelector("#fnref\\:"+String(i+1)).href
|
||||||
|
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {modal_open(prompt.url_proxy[tmp_url]); modal.style.display = 'block'; });
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
||||||
|
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue