mirror of https://github.com/FreeTubeApp/FreeTube
Update Title on Forward/Backwards navigation
This commit is contained in:
parent
a170fa80c6
commit
0a57825e92
|
@ -247,10 +247,12 @@ export default Vue.extend({
|
|||
|
||||
historyBack: function () {
|
||||
window.history.back()
|
||||
document.title = `${this.$t(this.$route.meta.title)} - ${process.env.PRODUCT_NAME}`
|
||||
},
|
||||
|
||||
historyForward: function () {
|
||||
window.history.forward()
|
||||
document.title = `${this.$t(this.$route.meta.title)} - ${process.env.PRODUCT_NAME}`
|
||||
},
|
||||
|
||||
toggleSideNav: function () {
|
||||
|
|
Loading…
Reference in New Issue