Got the "removeChild" error to go away by doing this.

This commit is contained in:
Robbie Antenesse 2016-06-12 08:20:17 -07:00
parent 9deb9087e6
commit d6ab5e62ce
1 changed files with 1 additions and 3 deletions

View File

@ -588,9 +588,7 @@ function SetPartsOfSpeech (selectId) {
var wordFiltersSelected = GetSelectedFilters(); var wordFiltersSelected = GetSelectedFilters();
// Clear parts of speech. // Clear parts of speech.
for (var i = partsOfSpeechSelect.options.length; i > 0; i--) { partsOfSpeechSelect.innerHTML = "";
partsOfSpeechSelect.removeChild(partsOfSpeechSelect.options[i]);
}
wordFilterOptions.innerHTML = ""; wordFilterOptions.innerHTML = "";
// Insert blank part of speech as first dropdown option. // Insert blank part of speech as first dropdown option.