summaryrefslogtreecommitdiff
path: root/resources/views/statistics/other/chart-setup.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/statistics/other/chart-setup.phtml')
-rw-r--r--resources/views/statistics/other/chart-setup.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/statistics/other/chart-setup.phtml b/resources/views/statistics/other/chart-setup.phtml
index 694fc2da9e..10cc361b89 100644
--- a/resources/views/statistics/other/chart-setup.phtml
+++ b/resources/views/statistics/other/chart-setup.phtml
@@ -4,7 +4,7 @@ declare(strict_types=1);
use Fisharebest\Webtrees\View;
?>
-<?php View::push('javascript') ?>
+<?php View::pushunique('javascript') ?>
<script src="https://www.gstatic.com/charts/loader.js"></script>
<script>
@@ -23,4 +23,4 @@ google.charts.load(
);
</script>
-<?php View::endpush() ?>
+<?php View::endpushunique() ?>