- Added pwa support
- Compact view (#100)
- Minor changes
This commit is contained in:
Shiny Nematoda 2023-01-24 06:43:05 +00:00
parent f6ec753836
commit cb894ea184
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
16 changed files with 7576 additions and 340 deletions

View file

@ -109,9 +109,8 @@ function playList(a) {
/* Lifestyle hooks */
onBeforeMount(() => {
/* Set the default theme if set */
if (store.theme) {
document.body.setAttribute('data-theme', store.theme);
}
if (store.theme) document.body.setAttribute('data-theme', store.theme);
if (store.compact == 'true') document.body.setAttribute('data-compact', '');
/* Set the default locale if set */
if (store.locale) setupLocale(store.locale);