Skip to content

Commit

Permalink
Bug Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Jan 29, 2024
1 parent e28c1dc commit e76ba51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<div class="offcanvas-body" ref="offcanvasBody">
<div v-if="showAbout">
<div class="mb-3">
<p>
Expand Down Expand Up @@ -145,7 +145,8 @@ export default {
toggleContent(contentType) {
this.showAbout = contentType === 'about';
this.showChanglog = contentType === 'changlog';
}
this.$refs.offcanvasBody.scrollTop = 0;
},
}
}
</script>
Expand Down

0 comments on commit e76ba51

Please sign in to comment.