From 2343ed49f59e67134ab543e8f3b00f51becde1bb Mon Sep 17 00:00:00 2001 From: frostydad <64224601+Cyberes@users.noreply.github.com> Date: Mon, 26 Sep 2022 00:04:47 -0600 Subject: [PATCH] Update generate_tx_models_html.py --- generate_tx_models_html.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generate_tx_models_html.py b/generate_tx_models_html.py index d6f9012..305c9e6 100644 --- a/generate_tx_models_html.py +++ b/generate_tx_models_html.py @@ -208,10 +208,11 @@ html_struct = html_struct + """ }); _paq.push(['trackLink', url, 'download']); }; - + document.addEventListener("DOMContentLoaded", () => { var waypoints = $(".model-title").waypoint(function(direction) { _paq.push(["trackEvent", "Scroll", "View Section", this.element.getAttribute("data-content-name")]); }) + });