More Checkbox enhancements, remove js from dashboard if finanacial isnt selected

This commit is contained in:
johnnyq
2024-11-17 14:54:16 -05:00
parent b2fff24bd9
commit 9c24a780be
10 changed files with 22 additions and 26 deletions

View File

@@ -724,6 +724,8 @@ if ($user_config_dashboard_technical_enable == 1) {
<?php require_once "footer.php"; ?>
<?php if ($user_config_dashboard_financial_enable == 1) { ?>
<script>
// Set new default font family and font color to mimic Bootstrap's default styling
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
@@ -1124,3 +1126,5 @@ if ($user_config_dashboard_technical_enable == 1) {
}
});
</script>
<?php } ?>