diff --git a/jellyfin_accounts/__init__.py b/jellyfin_accounts/__init__.py index 082c961..1b1e552 100755 --- a/jellyfin_accounts/__init__.py +++ b/jellyfin_accounts/__init__.py @@ -1,5 +1,5 @@ # Runs it! -__version__ = "0.3.7" +__version__ = "0.3.9" import secrets import configparser diff --git a/jellyfin_accounts/data/templates/admin.js b/jellyfin_accounts/data/templates/admin.js index cd40603..416eb0c 100644 --- a/jellyfin_accounts/data/templates/admin.js +++ b/jellyfin_accounts/data/templates/admin.js @@ -651,11 +651,11 @@ document.getElementById('openDefaultsWizard').onclick = function() { for (user of users) { let radio = document.createElement('div'); radio.classList.add('radio'); + let checked = 'checked'; if (first) { - const checked = 'checked'; first = false; } else { - const checked = ''; + checked = ''; }; radio.innerHTML = ``; diff --git a/pyproject.toml b/pyproject.toml index 721e62f..c633093 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jellyfin-accounts" -version = "0.3.7" +version = "0.3.9" readme = "README.md" description = "A simple account management system for Jellyfin" authors = ["Harvey Tindall "]