This commit is contained in:
Josh Johnson 2016-04-13 14:42:23 +01:00
parent 3d2e998f34
commit ec5ca95d0d

View file

@ -695,6 +695,7 @@ export class Choices {
// Clear options
this.dropdown.innerHTML = '';
// Create a fragment to store our list items (so we don't have to update the DOM for each item)
const optionListFragment = document.createDocumentFragment();
// Add each option to dropdown