mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
j
This commit is contained in:
parent
5074aa5a7b
commit
7d7fea806a
2 changed files with 4 additions and 28 deletions
File diff suppressed because one or more lines are too long
|
@ -1158,12 +1158,11 @@ function proxify()
|
|||
for(let i=prompt.url_proxy.length;i>=0;--i)
|
||||
{
|
||||
if(document.querySelector("#fnref\\:"+String(i+1)))
|
||||
link_tmp = document.querySelector("#fnref\\:"+String(i+1))
|
||||
link_tmp.removeAttribute('href')
|
||||
link_tmp.removeAttribute('id')
|
||||
link_tmp.addEventListener('click', function () {
|
||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
||||
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {
|
||||
modal.style.display = 'block'; modal_open(prompt.url_proxy[i+2])
|
||||
});
|
||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
||||
}
|
||||
|
||||
}catch(e){}
|
||||
|
|
Loading…
Add table
Reference in a new issue