Any idea why:
$('#site-toggle').live('tap', function () {
url = $.mobile.path.parseUrl("http://" + window.location.host.replace('m.','') + window.location.pathname);
window.location.href=url.href;
});
works on chrome on desktop but not on my Android?
On Chrome it gets the page you are now on but on my Android it will always redirect to first page that was loaded.
1 Answer