Difference between revisions of "Widget:RuneDisp"
From Official Runecraft Wiki
Line 35: | Line 35: | ||
//Set default | //Set default | ||
const option = document.createElement('option'); | const option = document.createElement('option'); | ||
− | option. | + | |
+ | //brief break to clear the rest of it | ||
+ | while (option.firstChild) { | ||
+ | option.removeChild(option.lastChild); | ||
+ | } | ||
+ | |||
option.value = 'default'; | option.value = 'default'; | ||
option.textContent = 'Full Rune'; | option.textContent = 'Full Rune'; |
Revision as of 18:09, 14 January 2022