mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(search) Fix broken script tag
Apparently it can't be called suggestions.js...?
This commit is contained in:
parent
e74e2f705f
commit
b33b013d41
@ -21,13 +21,10 @@ function setupTypeahead() {
|
||||
|
||||
if (items.length === 0) return;
|
||||
|
||||
console.log(items);
|
||||
|
||||
const suggestions = document.createElement('div');
|
||||
suggestions.setAttribute('id', 'suggestions');
|
||||
suggestions.setAttribute('class', 'suggestions');
|
||||
|
||||
|
||||
for (i=0;i<items.length;i++) {
|
||||
item = document.createElement('a');
|
||||
item.innerHTML=items[i];
|
@ -113,4 +113,4 @@
|
||||
</section>
|
||||
</footer>
|
||||
|
||||
<script src="/suggestions.js"></script>
|
||||
<script src="/tts.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user