mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: copy static files
we copy static files used by PHP and Python versions into /static preparation work for the removal of the PHP version Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
1325c71712
commit
97d0eac303
27 changed files with 2874 additions and 5 deletions
6
static/js/typeahead-home.js
Normal file
6
static/js/typeahead-home.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const input = document.getElementById('pkgsearch-field');
|
||||
const form = document.getElementById('pkgsearch-form');
|
||||
const type = 'suggest';
|
||||
typeahead.init(type, input, form);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue