Less specific selector

This commit is contained in:
zandercymatics 2025-02-18 10:30:30 -07:00
parent 16ed7546fd
commit 3493b9a16f
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -146,7 +146,7 @@ function createComparativeColumnChart(id, title, labelOne, labelTwo) {
/** An IIFE to initialize the analytics page
*/
export function initAnalyticsDashboard() {
const analyticsPageContainer = document.querySelector('.analytics-dashboard .analytics-dashboard-charts');
const analyticsPageContainer = document.querySelector('.analytics-dashboard-charts');
if (analyticsPageContainer) {
document.addEventListener("DOMContentLoaded", function () {
initAnalyticsExportButtons();