same again
Former-commit-id: 91550b5df58e924196146cd4da3fd9425d1b359e
This commit is contained in:
@@ -30,7 +30,8 @@ class Tag extends Component {
|
||||
|
||||
OnRender() {
|
||||
this.root.addEventListener('click', () => {
|
||||
window.location.href = `/search?q=${this.state.name}`;
|
||||
const query = encodeURIComponent(this.state.name);
|
||||
window.location.href = `/search?q=${query}`;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user