crafted skp not displaying bug fix
This commit is contained in:
parent
6474e1bb2b
commit
0fa7c2e4bd
1 changed files with 2 additions and 2 deletions
|
@ -310,7 +310,7 @@ function displaysq2ExpandedItem(item, parent_id){
|
||||||
if (id === "lore") {
|
if (id === "lore") {
|
||||||
p_elem.style = "font-style: italic";
|
p_elem.style = "font-style: italic";
|
||||||
} else if (skp_order.includes(id)) { //id = str, dex, int, def, or agi
|
} else if (skp_order.includes(id)) { //id = str, dex, int, def, or agi
|
||||||
if ( item.get("tier") !== "Crafted" && parent_div.nodeName === "DIV") {
|
if ( item.get("tier") !== "Crafted") {
|
||||||
row = document.createElement("div");
|
row = document.createElement("div");
|
||||||
row.classList.add("col");
|
row.classList.add("col");
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@ function displaysq2ExpandedItem(item, parent_id){
|
||||||
row.appendChild(title);
|
row.appendChild(title);
|
||||||
row.appendChild(boost);
|
row.appendChild(boost);
|
||||||
parent_div.appendChild(row);
|
parent_div.appendChild(row);
|
||||||
} else if ( item.get("tier") === "Crafted" && parent_div.nodeName === "TABLE") {
|
} else if ( item.get("tier") === "Crafted") {
|
||||||
let row = displaysq2RolledID(item, id, elemental_format);
|
let row = displaysq2RolledID(item, id, elemental_format);
|
||||||
parent_div.appendChild(row);
|
parent_div.appendChild(row);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue