mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add archweb typeahead implementation
Use a pure vanilla JavaScript typeahead implementation to finally deprecate the old jQuery version and typeahead library.
This commit is contained in:
parent
512f8064c1
commit
42bd0027b3
6 changed files with 188 additions and 70 deletions
|
@ -184,7 +184,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
|
|||
header("Content-Type: image/svg+xml");
|
||||
readfile("./$path");
|
||||
break;
|
||||
case "/js/bootstrap-typeahead.min.js":
|
||||
case "/js/typeahead.js":
|
||||
header("Content-Type: application/javascript");
|
||||
readfile("./$path");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue