From f3e51701c76317f08f20ea53bcab43552a209e86 Mon Sep 17 00:00:00 2001 From: Azmoria <65363489+Azmoria@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:09:20 -0400 Subject: [PATCH] Fix - issue with action rolls from DDB changes --- src/dndbeyond/base/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dndbeyond/base/utils.js b/src/dndbeyond/base/utils.js index 22c4d0ac..10d60a0b 100644 --- a/src/dndbeyond/base/utils.js +++ b/src/dndbeyond/base/utils.js @@ -45,8 +45,8 @@ function propertyListToDict(propList) { const properties = {} for (let i = 0; i < propList.length; i++) { const prop = propList.eq(i); - let labelElement = prop.find(".ct-property-list__property-label,.ddbc-property-list__property-label"); - let valueElement = prop.find(".ct-property-list__property-content,.ddbc-property-list__property-content"); + let labelElement = prop.find(".ct-property-list__property-label,.ddbc-property-list__property-label,[class*='InfoItem_label']"); + let valueElement = prop.find(".ct-property-list__property-content,.ddbc-property-list__property-content,[class*='InfoItem_value']"); // April 2024 website redesign now uses dynamic class names with styled components if (labelElement.length === 0 || valueElement.length === 0) { labelElement = prop.children().filter((i, el) => el.className.includes("Label"));