Skip to content

Commit

Permalink
Remove click event
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 27, 2015
1 parent 4c153c5 commit f0c1934
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions assets/js/src/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit f0c1934

Please sign in to comment.