mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/home: show top nav after all, improve looks
This commit is contained in:
@ -29,7 +29,14 @@ class HomeView {
|
||||
|
||||
const form = source.querySelector('form');
|
||||
if (form) {
|
||||
const searchTextInput = form.querySelector('input');
|
||||
form.querySelector('input[name=all-posts')
|
||||
.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
page('/posts/');
|
||||
});
|
||||
|
||||
const searchTextInput = form.querySelector(
|
||||
'input[name=search-text]');
|
||||
new TagAutoCompleteControl(searchTextInput);
|
||||
form.addEventListener('submit', e => {
|
||||
e.preventDefault();
|
||||
|
Reference in New Issue
Block a user