Use this code if you want your web app to feel more like a native app. Thanks to Sitepoint for this one.
window.addEventListener('load', function(){
setTimeout(scrollTo, 0, 0, 1);
}, false);
Use this code if you want your web app to feel more like a native app. Thanks to Sitepoint for this one.
window.addEventListener('load', function(){
setTimeout(scrollTo, 0, 0, 1);
}, false);