diff --git a/www/config.xml b/www/config.xml index 3ff8e76..cbeb5ca 100644 --- a/www/config.xml +++ b/www/config.xml @@ -16,7 +16,5 @@ PhoneGap Team - - - + diff --git a/www/js/index.js b/www/js/index.js index 1220e1c..5aead6f 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -35,7 +35,7 @@ var app = { onDeviceReady: function() { app.receivedEvent('deviceready'); - var ref = window.open('http://apache.org', '_blank', 'location=yes'); + var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); ref.addEventListener('loadstart', function(event) { alert('start: ' + event.url); }); ref.addEventListener('loadstop', function(event) { alert('stop: ' + event.url); });