Difference between revisions of "Widget:RuneDisp"

From Official Runecraft Wiki
Line 30: Line 30:
  
 
modelViewerLayers.addEventListener('load', () => {
 
modelViewerLayers.addEventListener('load', () => {
 +
 +
//Set default
 +
const option = document.createElement('option');
 +
option.value = 'default';
 +
option.textContent = 'Full Rune';
 +
select.appendChild(option);
 +
 +
 
for (const rne of runefiles) {
 
for (const rne of runefiles) {
  
Line 48: Line 56:
 
// select.appendChild(option);
 
// select.appendChild(option);
  
const option = document.createElement('option');
 
option.value = 'default';
 
option.textContent = 'Full Rune';
 
select.appendChild(option);
 
  
 
});
 
});

Revision as of 17:38, 14 January 2022