mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
fix(search): 🐛 fix incorrect parameter for debounce function
This commit is contained in:
parent
28968179ce
commit
55b310d26d
|
@ -91,7 +91,7 @@ const typeahead = {
|
||||||
typeahead.input.displayElement.textContent = typeaheadInputElement.value;
|
typeahead.input.displayElement.textContent = typeaheadInputElement.value;
|
||||||
typeaheadInputElement.addEventListener( 'compositionstart', typeahead.input.onCompositionstart );
|
typeaheadInputElement.addEventListener( 'compositionstart', typeahead.input.onCompositionstart );
|
||||||
if ( typeahead.input.isComposing !== true ) {
|
if ( typeahead.input.isComposing !== true ) {
|
||||||
mw.util.debounce( 100, typeahead.afterSearchQueryInput() );
|
mw.util.debounce( typeahead.afterSearchQueryInput(), 100 );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onKeydown: function ( event ) {
|
onKeydown: function ( event ) {
|
||||||
|
|
Loading…
Reference in a new issue