fix(search): 🐛 fix incorrect parameter for debounce function

This commit is contained in:
alistair3149 2024-07-07 17:33:41 -04:00
parent 28968179ce
commit 55b310d26d
No known key found for this signature in database

View file

@ -91,7 +91,7 @@ const typeahead = {
typeahead.input.displayElement.textContent = typeaheadInputElement.value;
typeaheadInputElement.addEventListener( 'compositionstart', typeahead.input.onCompositionstart );
if ( typeahead.input.isComposing !== true ) {
mw.util.debounce( 100, typeahead.afterSearchQueryInput() );
mw.util.debounce( typeahead.afterSearchQueryInput(), 100 );
}
},
onKeydown: function ( event ) {