diff --git a/extensions/SharkPool/Display-Text.js b/extensions/SharkPool/Display-Text.js index bf4cec3823..921ebe0278 100644 --- a/extensions/SharkPool/Display-Text.js +++ b/extensions/SharkPool/Display-Text.js @@ -813,7 +813,7 @@ elements.forEach((element) => { if (effect === "rotate" || effect.includes("scale") || effect.includes("skew")) { const thisElement = effect === "rotate" ? element : element.parentNode; - const transformV = element.style.transform.split(" "); + const transformV = thisElement.style.transform.split(" "); const index = transformV.findIndex(value => value.includes(effect)); if (index !== -1) { effectValue = transformV[index].replace(/[^\d.-]/g, "");