Difference between revisions of "Widget:RuneDisp"

From Official Runecraft Wiki
Line 30: Line 30:
 
modelViewerLayers.addEventListener('load', () => {
 
modelViewerLayers.addEventListener('load', () => {
  
 +
if (children < runefiles.length) {
 
//Set default
 
//Set default
 
const option = document.createElement('option');
 
const option = document.createElement('option');
Line 49: Line 50:
  
 
});
 
});
 +
 +
}
  
 
select.addEventListener('input', (event) => {
 
select.addEventListener('input', (event) => {

Revision as of 18:06, 14 January 2022