Let tags on this page buttons execute search immediately.

1. When the list is long, scrolling back up to hit to search
button is annoying.
2. If you select too many, there's no way to know if you're
going to wind up constructing a search with 0 results thus
wasting your time.
This commit is contained in:
voussoir 2020-04-02 22:52:33 -07:00
parent db43cac583
commit 0e0f296270

View file

@ -599,6 +599,7 @@ function tags_on_this_page_add_must(event, tagname)
inputted_musts,
"search_builder_musts_inputted"
);
submit_search();
return false;
}
function tags_on_this_page_add_may(event, tagname)
@ -609,6 +610,7 @@ function tags_on_this_page_add_may(event, tagname)
inputted_mays,
"search_builder_mays_inputted"
);
submit_search();
return false;
}
function tags_on_this_page_add_forbid(event, tagname)
@ -619,6 +621,7 @@ function tags_on_this_page_add_forbid(event, tagname)
inputted_forbids,
"search_builder_forbids_inputted"
);
submit_search();
return false;
}