Skip to content

Commit

Permalink
Check for doc
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Dec 14, 2023
1 parent c2e69bd commit 10adce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/viewer/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<span class="hide ib adjustright" class:hideearly={embed}>
<Zoom />
</span>
{#if embed && showFullscreen}
{#if document && embed && showFullscreen}
<FullScreen url={document.canonicalUrl} />
{/if}
</div>
Expand Down

0 comments on commit 10adce6

Please sign in to comment.