lint
This commit is contained in:
parent
c816a167ce
commit
4c85016d98
|
@ -23,7 +23,7 @@
|
||||||
/**
|
/**
|
||||||
* listen on click on the top button to go back to the top smoothly
|
* listen on click on the top button to go back to the top smoothly
|
||||||
*/
|
*/
|
||||||
mounted: function () {
|
mounted() {
|
||||||
const btnId = 'back_to_top';
|
const btnId = 'back_to_top';
|
||||||
const btn = document.getElementById(btnId);
|
const btn = document.getElementById(btnId);
|
||||||
|
|
||||||
|
@ -33,9 +33,9 @@
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
}));
|
}));
|
||||||
} else {
|
} 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 {
|
export default class Footer extends Vue {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue