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.
1 parent 0a015cb commit 04b3de0Copy full SHA for 04b3de0
docs/js/instantsearch.js
@@ -22,7 +22,7 @@
22
23
doc.getElementById('searchbox').addEventListener('keyup', function (event) {
24
const url = new URL(window.location);
25
- url.searchParams.set('sq', encodeURI(event.target.value));
+ url.searchParams.set('sq', event.target.value);
26
url.searchParams.set('p', 1);
27
window.history.pushState({}, '', url);
28
})
0 commit comments