Created
July 23, 2018 15:14
-
-
Save jodyHamilton/c79cdbe3d076ff506cf37266aeb9abd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/js/google_analytics.js b/js/google_analytics.js | |
index 0490c2b..dea81ae 100644 | |
--- a/js/google_analytics.js | |
+++ b/js/google_analytics.js | |
@@ -15,7 +15,7 @@ | |
// Attach mousedown, keyup, touchstart events to document only and catch | |
// clicks on all elements. | |
- $(document.body).on('mousedown keyup touchstart', function (event) { | |
+ $(document.body).on('mousedown keyup', function (event) { | |
// Catch the closest surrounding link of a clicked element. | |
$(event.target).closest('a,area').each(function () { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment