From 59ed50113ab331f75ae7be20fb3efa8314dfdcb2 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 10 Feb 2014 21:37:49 +0400 Subject: [PATCH] added iPhone improvements --- app/index.html | 2 +- app/js/app.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/index.html b/app/index.html index 0e77c272..ce66eb06 100644 --- a/app/index.html +++ b/app/index.html @@ -2,7 +2,7 @@ - + Webogram diff --git a/app/js/app.js b/app/js/app.js index c882d9ea..6ff735cc 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -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',