Grisu-NOE / mobile-app

This project aims to build a modern mobile web-app based on the framework Ionic to improve the functionality of http://mobile.leitstelle122.at/.
MIT License
25 stars 11 forks source link

Open links in native browser #91

Closed ajgassner closed 9 years ago

ajgassner commented 9 years ago

Open links in native web browser on iOS, not in app

ajgassner commented 9 years ago

window.addEventListener('load', function () {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', function (e) { e.preventDefault(); var url = this.href; window.open(url,"_system");
}); //} }, false);