From 25261bab675c9d96f020f02954addc0d710c3562 Mon Sep 17 00:00:00 2001 From: b Date: Thu, 25 Feb 2021 00:34:43 -0600 Subject: [PATCH] Fix display bug.. --- builder.js | 2 +- display.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder.js b/builder.js index b5c6cd1..8c1d9d0 100644 --- a/builder.js +++ b/builder.js @@ -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; diff --git a/display.js b/display.js index e321926..f96f1b2 100644 --- a/display.js +++ b/display.js @@ -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";