Skip to content

Commit a59e79e

Browse files
committed
Fix query input trailing spaces
1 parent 236f88c commit a59e79e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎_includes/bin_table.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
// handle user input
107107
searchBox.addEventListener('input', function () {
108108
var query = searchBox.value;
109-
history.replaceState(null, null, '#' + query);
109+
history.replaceState(null, null, encodeURI('#' + query));
110110
applyFilter();
111111
});
112112

0 commit comments

Comments
 (0)