Skip to content

Commit

Permalink
🐛 fixed #14
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodnimbalkar committed Dec 14, 2020
1 parent 2a0927c commit a39aaa4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/PdfViewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
</div>
</div>
{:else if showButtons === true}
<div class="control-start" name="top">
<div class="control-start">
<div class="line">
<Tooltip>
<span
Expand Down Expand Up @@ -681,11 +681,9 @@
</div>
{/if}
</div>
<button id="topBtn">
<a href="#top">
<button id="topBtn" on:click={() => window.scrollTo(0,0)}>
<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path d="M7 10v8h6v-8h5l-8-8-8 8h5z" />
</svg>
</a>
</button>
</div>

0 comments on commit a39aaa4

Please sign in to comment.