diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/breakdown_report.js b/Jellyfin.Plugin.PlaybackReporting/Pages/breakdown_report.js index 310a600..123c290 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/breakdown_report.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/breakdown_report.js @@ -251,7 +251,7 @@ define(['libraryMenu'], function (libraryMenu) { // init code here view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('playback_reporting', 2, getTabs); + LibraryMenu.setTabs('playback_reporting', 2, getTabs); require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) { diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/custom_query.js b/Jellyfin.Plugin.PlaybackReporting/Pages/custom_query.js index 909744b..76a3c53 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/custom_query.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/custom_query.js @@ -69,7 +69,7 @@ define(['libraryMenu'], function (libraryMenu) { // init code here view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('custom_query', 5, getTabs); + LibraryMenu.setTabs('custom_query', 5, getTabs); var run_custom_query = view.querySelector('#run_custom_query'); run_custom_query.addEventListener("click", runQuery); diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/duration_histogram_report.js b/Jellyfin.Plugin.PlaybackReporting/Pages/duration_histogram_report.js index ddbe116..3a30be5 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/duration_histogram_report.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/duration_histogram_report.js @@ -157,7 +157,7 @@ define(['libraryMenu'], function (libraryMenu) { // init code here view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('Jellyfin.Plugin.PlaybackReporting', 4, getTabs); + LibraryMenu.setTabs('Jellyfin.Plugin.PlaybackReporting', 4, getTabs); require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) { diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/hourly_usage_report.js b/Jellyfin.Plugin.PlaybackReporting/Pages/hourly_usage_report.js index 40c7e50..2caad8b 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/hourly_usage_report.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/hourly_usage_report.js @@ -359,7 +359,7 @@ define(['libraryMenu'], function (libraryMenu) { // init code here view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('playback_reporting', 3, getTabs); + LibraryMenu.setTabs('playback_reporting', 3, getTabs); require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) { diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/playback_report_settings.js b/Jellyfin.Plugin.PlaybackReporting/Pages/playback_report_settings.js index a7016d8..78ab142 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/playback_report_settings.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/playback_report_settings.js @@ -145,7 +145,7 @@ define(['libraryMenu'], function (libraryMenu) { // init code here view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('playplayback_report_settingsback_reporting', 6, getTabs); + LibraryMenu.setTabs('playplayback_report_settingsback_reporting', 6, getTabs); var set_backup_path = view.querySelector('#set_backup_path'); set_backup_path.addEventListener("click", setBackupPathPicker); diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/user_playback_report.js b/Jellyfin.Plugin.PlaybackReporting/Pages/user_playback_report.js index 4408f10..697d6e9 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/user_playback_report.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/user_playback_report.js @@ -451,7 +451,7 @@ define(['libraryMenu'], function (libraryMenu) { // https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.bundle.min.js view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('playback_reporting', 1, getTabs); + LibraryMenu.setTabs('playback_reporting', 1, getTabs); require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) { diff --git a/Jellyfin.Plugin.PlaybackReporting/Pages/user_report.js b/Jellyfin.Plugin.PlaybackReporting/Pages/user_report.js index 7ac603a..5d45481 100644 --- a/Jellyfin.Plugin.PlaybackReporting/Pages/user_report.js +++ b/Jellyfin.Plugin.PlaybackReporting/Pages/user_report.js @@ -70,7 +70,7 @@ define(['libraryMenu'], function (libraryMenu) { // init code here view.addEventListener('viewshow', function (e) { - libraryMenu.setTabs('user_report', 0, getTabs); + LibraryMenu.setTabs('user_report', 0, getTabs); var end_date = view.querySelector('#end_date'); end_date.value = new Date().toDateInputValue();