diff --git a/src/client/view/components/TkComment.vue b/src/client/view/components/TkComment.vue index 163b0fb2a..f35095bb5 100644 --- a/src/client/view/components/TkComment.vue +++ b/src/client/view/components/TkComment.vue @@ -208,7 +208,7 @@ export default { scrollToComment () { if (window.location.hash.indexOf(this.comment.id) !== -1) { this.$refs['tk-comment'].scrollIntoView({ - behavier: 'smooth' + behavior: 'smooth' }) this.$emit('expand') } @@ -247,7 +247,7 @@ export default { onLoad () { if (this.comment.replies.length > 0) { this.$refs['tk-replies'].lastElementChild.scrollIntoView({ - behavier: 'smooth', + behavior: 'smooth', block: 'center' }) } diff --git a/src/client/view/components/TkSubmit.vue b/src/client/view/components/TkSubmit.vue index 9c45f7820..f6220ceb5 100644 --- a/src/client/view/components/TkSubmit.vue +++ b/src/client/view/components/TkSubmit.vue @@ -1,5 +1,5 @@