Difference between revisions of "Widget:RuneDisp"

From Official Runecraft Wiki
Line 37: Line 37:
  
 
//brief break to clear the rest of it
 
//brief break to clear the rest of it
while (option.firstChild) {
+
const lyr = document.getElementById("layer");
option.removeChild(option.lastChild);
+
while (lyr.firstChild) {
 +
option.removeChild(lyr.lastChild);
 
}
 
}
  

Revision as of 18:13, 14 January 2022