Skip to content

Commit

Permalink
Fix window.location detection
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Dec 22, 2023
1 parent af28553 commit 61dc10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 61dc10c

Please sign in to comment.