File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ export function initTextExpander(expander: TextExpanderElement) {
6969 // check the input before the request, to avoid emitting empty query to backend (still related to the upstream bug)
7070 if ( ! shouldShowIssueSuggestions ( ) ) return { matched : false } ;
7171 // await sleep(Math.random() * 1000); // help to reproduce the text-expander bug
72- // check the input again to avoid text-expander use incorrect position (upstream bug)
7372 const ret = await fetchIssueSuggestions ( key , text ) ;
73+ // check the input again to avoid text-expander use incorrect position (upstream bug)
7474 if ( ! shouldShowIssueSuggestions ( ) ) return { matched : false } ;
7575 return ret ;
7676 } , 300 ) ; // to match onInputDebounce delay
You can’t perform that action at this time.
0 commit comments