Difference between revisions of "Widget:RuneDisp"
From Official Runecraft Wiki
Line 15: | Line 15: | ||
runefiles.push('<!--{$iter}-->'); | runefiles.push('<!--{$iter}-->'); | ||
<!--{/foreach}-->; | <!--{/foreach}-->; | ||
− | |||
if (multilayer == "false") { | if (multilayer == "false") { | ||
Line 45: | Line 44: | ||
option.textContent = 'Activation Layer'; | option.textContent = 'Activation Layer'; | ||
} else { | } else { | ||
− | option.textContent = 'Layer '+ | + | option.textContent = 'Layer '+runefiles.indexOf(rne); |
} | } | ||
select.appendChild(option); | select.appendChild(option); | ||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 17:43, 14 January 2022