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
/* Handle any link start with http or https using PhoneGap (Cordova) inAppBrowser | |
* Options you can set data-in-app-browser html attribute to one of the | |
* following options: | |
* _self - opens in the Cordova WebView if url is in the white-list, else it opens in the InAppBrowser | |
* _blank - always open in the InAppBrowser | |
* _system - always open in the system web browse | |
*/ | |
$(document).on('click', 'a[href^=http], a[href^=https]', function(e){ |