Skip to content
Snippets Groups Projects
Commit 1768d4dd authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix external urls for Android

parent 379c77af
No related branches found
No related tags found
No related merge requests found
Meteor.startup ->
return unless Meteor.isCordova
platform = device.platform.toLowerCase()
# Handle click events for all external URLs
$(document).on 'deviceready', ->
platform = device.platform.toLowerCase()
$(document).on 'click', (e) ->
$link = $(e.target).closest('a[href]')
return unless $link.length > 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment