replaceChildren is too recent
This commit is contained in:
		| @ -57,7 +57,7 @@ function searchCandidatesOf(box) { | |||||||
|  |  | ||||||
| function showCandidatesOn(box) { | function showCandidatesOn(box) { | ||||||
|     if (!box.disabled) { |     if (!box.disabled) { | ||||||
|         box.list.replaceChildren() |         while (box.list.firstChild) box.list.firstChild.remove() | ||||||
|         if (!box.value && box.candidates.size) { |         if (!box.value && box.candidates.size) { | ||||||
|             const candidatesArray = Array.from(box.candidates).sort() |             const candidatesArray = Array.from(box.candidates).sort() | ||||||
|             candidatesArray.forEach(candidate => { |             candidatesArray.forEach(candidate => { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user