Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.