fix constant usage from wrong scope
This commit is contained in:
parent
c16c38638b
commit
8a295c4bb0
@ -65,6 +65,7 @@ class DisplaySearch extends Display {
|
||||
this.wanakanaEnable.checked = false;
|
||||
}
|
||||
this.wanakanaEnable.addEventListener('change', (e) => {
|
||||
const {query=''} = DisplaySearch.parseQueryStringFromLocation(window.location.href);
|
||||
if (e.target.checked) {
|
||||
window.wanakana.bind(this.query);
|
||||
this.setQuery(window.wanakana.toKana(query));
|
||||
|
Loading…
Reference in New Issue
Block a user