added iPhone improvements
This commit is contained in:
parent
c82af8eb38
commit
59ed50113a
@ -2,7 +2,7 @@
|
||||
<html lang="en" ng-app="myApp"><!-- ng-csp="" -->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
<title>Webogram</title>
|
||||
<link rel="stylesheet" href="vendor/angular/angular-csp.css"/>
|
||||
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css?1"/>
|
||||
|
@ -18,6 +18,12 @@ if (!window._osX) {
|
||||
}
|
||||
$('body').addClass(window._retina ? 'is_2x' : 'is_1x');
|
||||
|
||||
$(window).on('load', function () {
|
||||
setTimeout(function () {
|
||||
window.scrollTo(0,1);
|
||||
}, 0);
|
||||
});
|
||||
|
||||
// Declare app level module which depends on filters, and services
|
||||
angular.module('myApp', [
|
||||
'ngRoute',
|
||||
|
Loading…
Reference in New Issue
Block a user