Fix more linter issues

This commit is contained in:
Preston 2020-10-04 14:42:46 -04:00
parent 8077d9d999
commit cbb1b853b5
4 changed files with 9 additions and 9 deletions

View File

@ -348,7 +348,7 @@ const actions = {
}, },
showToast (_, payload) { showToast (_, payload) {
FtToastEvents.$emit('toast.open', payload.message, payload.action, payload.time) FtToastEvents.$emit('toast-open', payload.message, payload.action, payload.time)
} }
} }

View File

@ -467,12 +467,12 @@ a:visited {
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 6px; width: 6px;
height: 6px;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background: var(--scrollbar-color); background: var(--scrollbar-color);
border-radius: 6px; border-radius: 6px;
height: 6px;
} }
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {

View File

@ -30,6 +30,10 @@ export default Vue.extend({
'watch-video-playlist': WatchVideoPlaylist, 'watch-video-playlist': WatchVideoPlaylist,
'watch-video-recommendations': WatchVideoRecommendations 'watch-video-recommendations': WatchVideoRecommendations
}, },
beforeRouteLeave: function (to, from, next) {
this.handleRouteChange()
next()
},
data: function() { data: function() {
return { return {
isLoading: false, isLoading: false,
@ -883,9 +887,5 @@ export default Vue.extend({
'updateHistory', 'updateHistory',
'updateWatchProgress' 'updateWatchProgress'
]) ])
},
beforeRouteLeave: function (to, from, next) {
this.handleRouteChange()
next()
} }
}) })

View File

@ -77,7 +77,7 @@
:is-upcoming="isUpcoming" :is-upcoming="isUpcoming"
class="watchVideo" class="watchVideo"
:class="{ theatreWatchVideo: useTheatreMode }" :class="{ theatreWatchVideo: useTheatreMode }"
@theatreMode="toggleTheatreMode" @theatre-mode="toggleTheatreMode"
/> />
<watch-video-description <watch-video-description
v-if="!isLoading" v-if="!isLoading"
@ -86,14 +86,14 @@
:description-html="videoDescriptionHtml" :description-html="videoDescriptionHtml"
class="watchVideo" class="watchVideo"
:class="{ theatreWatchVideo: useTheatreMode }" :class="{ theatreWatchVideo: useTheatreMode }"
@timestampEvent="changeTimestamp" @timestamp-event="changeTimestamp"
/> />
<watch-video-comments <watch-video-comments
v-if="!isLoading && !isLive" v-if="!isLoading && !isLive"
:id="videoId" :id="videoId"
class="watchVideo" class="watchVideo"
:class="{ theatreWatchVideo: useTheatreMode }" :class="{ theatreWatchVideo: useTheatreMode }"
@timestampEvent="changeTimestamp" @timestamp-event="changeTimestamp"
/> />
</div> </div>
<div class="sidebarArea"> <div class="sidebarArea">