animate only on chrome
This commit is contained in:
parent
233b03ba6f
commit
afe2523986
@ -344,9 +344,14 @@ export default {
|
|||||||
|
|
||||||
await this.getPlaylist()
|
await this.getPlaylist()
|
||||||
|
|
||||||
this.interval = setInterval(() => {
|
if (this.$ua.browser() === 'Chrome') {
|
||||||
|
this.interval = setInterval(() => {
|
||||||
|
this.$store.dispatch('playlist/animClock', { dayStart: this.configPlayout.playlist.day_start })
|
||||||
|
}, 5000)
|
||||||
|
} else {
|
||||||
this.$store.dispatch('playlist/animClock', { dayStart: this.configPlayout.playlist.day_start })
|
this.$store.dispatch('playlist/animClock', { dayStart: this.configPlayout.playlist.day_start })
|
||||||
}, 5000)
|
console.log('No anaimation on:', this.$ua.browser())
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
|
Loading…
Reference in New Issue
Block a user