mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 16:32:20 +01:00
@ -284,11 +284,15 @@
|
||||
playsIn: {
|
||||
handler(val, oldVal) {
|
||||
this.update_infobar();
|
||||
setCookie("PLAYS_IN", this.playsIn, 14);
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.clockInterval = setInterval(this.update_song_times, 1000);
|
||||
|
||||
const stored_playsIn = getCookie("PLAYS_IN");
|
||||
this.playsIn = (stored_playsIn !== "false");
|
||||
},
|
||||
unmounted() {
|
||||
clearInterval(this.clockInterval);
|
||||
|
||||
Reference in New Issue
Block a user