Fix: Correct CSS class selector in StripOverlayLayer
Changed selector from '.scrying-pool__roster-strip' to '.scrying-pool-strip' to match the actual CSS class defined in ScryingPoolStrip.defaultOptions. This was the root cause of the warning: 'StripOverlayLayer: ScryingPoolStrip not found' The class name in ScryingPoolStrip is 'scrying-pool-strip' (set in defaultOptions), not 'scrying-pool__roster-strip'. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -51,8 +51,8 @@ export class StripOverlayLayer {
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
// Try to find the ScryingPoolStrip element to append to
|
// Try to find the ScryingPoolStrip element to append to
|
||||||
// The strip is created in Story 1.5 as a floating ApplicationV2 window
|
// The strip is created in Story 1.5 as a floating Application window
|
||||||
const stripElement = document.querySelector?.('.scrying-pool__roster-strip');
|
const stripElement = document.querySelector?.('.scrying-pool-strip');
|
||||||
if (stripElement) {
|
if (stripElement) {
|
||||||
stripElement.appendChild(this._element);
|
stripElement.appendChild(this._element);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user