Keep marketplace search on marketplace page
This commit is contained in:
parent
b049b79911
commit
c4a802b458
@ -59,6 +59,7 @@
|
||||
|
||||
input.addEventListener("keydown", (event) => {
|
||||
if (event.key !== "Enter") return;
|
||||
if (location.pathname.includes("marketplace")) return;
|
||||
|
||||
const search = input.value.trim();
|
||||
location.href = search
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user