{"action":"created","issue":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/534","labels_url":"https://api.github.com/repos/lhorie/mithril.js/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/lhorie/mithril.js/issues/534/comments","events_url":"https://api.github.com/repos/lhorie/mithril.js/issues/534/events","html_url":"https://github.com/lhorie/mithril.js/issues/534","id":66568551,"number":534,"title":"scrollTo issues on page refresh. ","user":{"login":"saniko","id":1344142,"avatar_url":"https://avatars.githubusercontent.com/u/1344142?v=3","gravatar_id":"","url":"https://api.github.com/users/saniko","html_url":"https://github.com/saniko","followers_url":"https://api.github.com/users/saniko/followers","following_url":"https://api.github.com/users/saniko/following{/other_user}","gists_url":"https://api.github.com/users/saniko/gists{/gist_id}","starred_url":"https://api.github.com/users/saniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saniko/subscriptions","organizations_url":"https://api.github.com/users/saniko/orgs","repos_url":"https://api.github.com/users/saniko/repos","events_url":"https://api.github.com/users/saniko/events{/privacy}","received_events_url":"https://api.github.com/users/saniko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-06T09:31:22Z","updated_at":"2015-04-06T14:01:21Z","closed_at":"2015-04-06T14:01:21Z","body":"when i scroll down my spa to bottom and then hit refresh button, the \r\npage renders back exactly where i scrolled. \r\ni need that on page refresh the page will render at top (same as on route change)\r\ni have added a config function with   window.scrollTo(0,0). but with no results\r\nany suggestions/\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/comments/90073559","html_url":"https://github.com/lhorie/mithril.js/issues/534#issuecomment-90073559","issue_url":"https://api.github.com/repos/lhorie/mithril.js/issues/534","id":90073559,"user":{"login":"saniko","id":1344142,"avatar_url":"https://avatars.githubusercontent.com/u/1344142?v=3","gravatar_id":"","url":"https://api.github.com/users/saniko","html_url":"https://github.com/saniko","followers_url":"https://api.github.com/users/saniko/followers","following_url":"https://api.github.com/users/saniko/following{/other_user}","gists_url":"https://api.github.com/users/saniko/gists{/gist_id}","starred_url":"https://api.github.com/users/saniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saniko/subscriptions","organizations_url":"https://api.github.com/users/saniko/orgs","repos_url":"https://api.github.com/users/saniko/repos","events_url":"https://api.github.com/users/saniko/events{/privacy}","received_events_url":"https://api.github.com/users/saniko/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T14:01:21Z","updated_at":"2015-04-06T14:01:21Z","body":"LOL.... of course... \r\nHow trivial, some times i\"m so into solving the \"problems\" of VD that i forget the trivial stuff.\r\nThanks. \r\n"}}