diff --git a/Jellyfin.Plugin.Template/Configuration/configPage.html b/Jellyfin.Plugin.Template/Configuration/configPage.html index d2cc1bd..2c8c9c6 100644 --- a/Jellyfin.Plugin.Template/Configuration/configPage.html +++ b/Jellyfin.Plugin.Template/Configuration/configPage.html @@ -51,7 +51,7 @@ ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) { document.querySelector('#Options').value = config.Options; document.querySelector('#AnInteger').value = config.AnInteger; - document.getElementById('TrueFalseSetting').checked = config.TrueFalseSetting; + document.querySelector('#TrueFalseSetting').checked = config.TrueFalseSetting; document.querySelector('#AString').value = config.AString; Dashboard.hideLoadingMsg(); });