URL hash starts tag search

dev
gravel 6 months ago
parent cad8973095
commit 008e13a039
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -97,6 +97,12 @@ function reactToURLParameters() {
return;
}
if (!hash.includes("+")) {
useSearchTerm(`#${decodeURIComponent(hash)}`, true);
toggleSearchBarVisibility();
return;
}
const communityIDPrefix = hash;
const row = dom.community_row(communityIDPrefix, true);
if (row == null || !(row instanceof HTMLTableRowElement)) {
@ -709,8 +715,6 @@ function useSearchTerm(rawTerm, fillSearchBarWithTerm = false) {
if (fillSearchBarWithTerm) {
searchBar.value = rawTerm;
}
sortTable();
}
function replaceRowsWith(rows) {

Loading…
Cancel
Save