From 522d1961d14b7bf4330a6fbe9bd2bcff5883b09f Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 5 Jul 2022 13:29:22 -0600 Subject: [PATCH] I hate JS --- src/resources/js/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/js/download.js b/src/resources/js/download.js index 7cfb0a6..1863ad6 100644 --- a/src/resources/js/download.js +++ b/src/resources/js/download.js @@ -154,7 +154,7 @@ $(function() { disableFields(true); - if (fathom !== undefined) { + if (typeof fathom !== 'undefined') { fathom.trackGoal('U9K2UTFV', 0); }