diff options
| author | crobibero <cody@robibe.ro> | 2020-07-20 17:23:36 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-07-20 17:23:36 -0600 |
| commit | f4cafc2f31c777ef1a690790991d46fd37c608ac (patch) | |
| tree | 5744187df161ebbe4b54baa9fd9b344ed5a60327 /MediaBrowser.Providers/Plugins/AudioDb/Configuration | |
| parent | 0750357916b600a4b4c27bc4babd2adcc6390473 (diff) | |
fix built in plugin js
Diffstat (limited to 'MediaBrowser.Providers/Plugins/AudioDb/Configuration')
| -rw-r--r-- | MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html b/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html index fbf413f2b5..6b750468a4 100644 --- a/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html +++ b/MediaBrowser.Providers/Plugins/AudioDb/Configuration/config.html @@ -31,8 +31,8 @@ $('.configPage').on('pageshow', function () { Dashboard.showLoadingMsg(); ApiClient.getPluginConfiguration(PluginConfig.pluginId).then(function (config) { - $('#enable').checked = config.Enable; - $('#replaceAlbumName').checked = config.ReplaceAlbumName; + document.querySelector('#enable').checked = config.Enable; + document.querySelector('#replaceAlbumName').checked = config.ReplaceAlbumName; Dashboard.hideLoadingMsg(); }); @@ -43,8 +43,8 @@ var form = this; ApiClient.getPluginConfiguration(PluginConfig.pluginId).then(function (config) { - config.Enable = $('#enable', form).checked; - config.ReplaceAlbumName = $('#replaceAlbumName', form).checked; + config.Enable = document.querySelector('#enable').checked; + config.ReplaceAlbumName = document.querySelector('#replaceAlbumName').checked; ApiClient.updatePluginConfiguration(PluginConfig.pluginId, config).then(Dashboard.processPluginConfigurationUpdateResult); }); |
