From f0c19341e21b764a2730c8e2d37e1977f46da0e3 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 27 Dec 2015 03:47:41 +0100 Subject: [PATCH] Remove click event --- assets/js/src/main.coffee | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/assets/js/src/main.coffee b/assets/js/src/main.coffee index f18fd11..5c00bd3 100644 --- a/assets/js/src/main.coffee +++ b/assets/js/src/main.coffee @@ -20,10 +20,4 @@ $ -> $('.post-content').fitVids() - if Itch.is 'device', 'desktop' - $('a').not('[href*="mailto:"]').click -> - if this.href.indexOf(location.hostname) is -1 - window.open $(this).attr 'href' - false - else - FastClick.attach el + FastClick.attach el unless Itch.is 'device', 'desktop'