From cf01078fcffc7d99d65a442657a0035e967385a9 Mon Sep 17 00:00:00 2001 From: Jamie Cope Date: Tue, 26 Nov 2024 15:01:54 -0500 Subject: [PATCH] Fix URL cleaning for standalone mode --- source/client/applications/StoryApplication.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client/applications/StoryApplication.ts b/source/client/applications/StoryApplication.ts index 9c351651..d83327ba 100644 --- a/source/client/applications/StoryApplication.ts +++ b/source/client/applications/StoryApplication.ts @@ -156,8 +156,8 @@ export default class StoryApplication revisedUrl.searchParams.delete("root"); revisedUrl.searchParams.delete("document"); window.history.replaceState(null,null,revisedUrl); - props.root = null; - props.document = null; + this.explorer.props.root = null; + this.explorer.props.document = null; } this.explorer.evaluateProps();