]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix typo (#737)
authorLeon Wilberforce <leonwilberforce@outlook.com>
Wed, 27 Jan 2021 22:11:32 +0000 (22:11 +0000)
committerGitHub <noreply@github.com>
Wed, 27 Jan 2021 22:11:32 +0000 (23:11 +0100)
docs/guide/advanced/scroll-behavior.md

index c9012618049d855f1fa23a905ba86490708ff08b..c5fc0506fd4f39fa4796f463ed1ecc6b1d812bf8 100644 (file)
@@ -82,7 +82,7 @@ const router = createRouter({
   scrollBehavior(to, from, savedPosition) {
     if (to.hash) {
       return {
-        el: to.hash
+        el: to.hash,
         behavior: 'smooth',
       }
     }