From 61dc10ccab8ec4943ffe47fac77ba1a998f037e1 Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Fri, 22 Dec 2023 13:49:25 +0100 Subject: [PATCH] Fix window.location detection --- src/scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/app.js b/src/scripts/app.js index d39d6e6..5ce7a7f 100644 --- a/src/scripts/app.js +++ b/src/scripts/app.js @@ -690,7 +690,7 @@ export default class Portfolio extends H5P.EventDispatcher { if ( this.isPreview || this.cannotHandleURL || - !this.contextWindow?.loation + !this.contextWindow?.location ) { return; // Don't change URL }