We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e624ea + e802f49 commit d903f1fCopy full SHA for d903f1f
index.js
@@ -63,7 +63,7 @@ async function fetchResults(remoteInput: RemoteInputElement, checkCurrentQuery:
63
const resultsContainer = document.getElementById(remoteInput.getAttribute('aria-owns') || '')
64
if (!resultsContainer) return
65
66
- const url = new URL(src, window.location.origin)
+ const url = new URL(src, window.location.href)
67
const params = new URLSearchParams(url.search)
68
params.append(remoteInput.getAttribute('param') || 'q', query)
69
url.search = params.toString()
0 commit comments