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