This commit is contained in:
ty kayn 2019-10-12 20:56:24 +02:00
parent c816a167ce
commit 4c85016d98
1 changed files with 24 additions and 24 deletions

View File

@ -23,7 +23,7 @@
/**
* listen on click on the top button to go back to the top smoothly
*/
mounted: function () {
mounted() {
const btnId = 'back_to_top';
const btn = document.getElementById(btnId);
@ -33,9 +33,9 @@
behavior: 'smooth',
}));
} else {
console.error(`back to top button reference element by ID "${btnId}" not found`)
}
console.error(`back to top button reference element by ID "${btnId}" not found`);
}
},
})
export default class Footer extends Vue {
}