mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
remove suggestion script onload
This commit is contained in:
parent
909816d4a4
commit
a6d2cf6bad
1 changed files with 1 additions and 0 deletions
|
|
@ -550,6 +550,7 @@
|
|||
const script = document.createElement('script');
|
||||
document.querySelector('head').appendChild(script);
|
||||
script.src = `https://duckduckgo.com/ac/?callback=autocompleteCallback&q=${search}`;
|
||||
script.onload = script.remove;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue