Fix display bug..

This commit is contained in:
b 2021-02-25 00:34:43 -06:00
parent 2686beef13
commit 25261bab67
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ const url_tag = location.hash.slice(1);
console.log(url_base);
console.log(url_tag);
const BUILD_VERSION = "6.9.35";
const BUILD_VERSION = "6.9.36";
function setTitle() {
let text;

View file

@ -656,7 +656,7 @@ function displayExpandedItem(item, parent_id){
}
}
}
else if ( (rolledIDs.includes(id) && item.get("maxRolls").get(id)) ){ // && item.get("maxRolls").get(id) ){//rolled ID & non-0/non-null/non-und ID
else if ( rolledIDs.includes(id) && item.get("maxRolls") && item.get("maxRolls").get(id) ){ // && item.get("maxRolls").get(id) ){//rolled ID & non-0/non-null/non-und ID
let style = "positive";
if (item.get("minRolls").get(id) < 0) {
style = "negative";