2023-06-24 14:36:57 +00:00
|
|
|
function addParam(t, bool) {
|
2023-08-14 14:29:06 +00:00
|
|
|
let text = t.textContent;
|
2023-06-24 14:36:57 +00:00
|
|
|
if (bool)
|
|
|
|
text = text + ' '
|
|
|
|
else
|
|
|
|
text = text.split(":")[0] + ':';
|
2022-09-04 23:15:37 +00:00
|
|
|
let searchInput = document.querySelector("#large_searchbar input");
|
2023-06-24 14:36:57 +00:00
|
|
|
searchInput.value = `${searchInput.value} ${text}`;
|
2022-09-04 23:15:37 +00:00
|
|
|
searchInput.focus();
|
2022-08-24 08:04:26 +00:00
|
|
|
}
|