<p><a href="https://github.com/dismantl"><img src="https://avatars.githubusercontent.com/u/2007008?" align="left" width="96" height="96" hspace="10" style="max-width:100%;"></a> <strong>Issue by <a href="https://github.com/dismantl">dismantl</a></strong><br><em>Monday Dec 09, 2013 at 19:58 GMT</em><br><em>Originally opened as <a href="https://github.com/opentechinstitute/luci-commotion-splash/pull/14" class="issue-link" title="scroll to top of window on page load">opentechinstitute/luci-commotion-splash#14</a></em></p>

<hr><p>fixes <a href="https://github.com/opentechinstitute/luci-commotion-splash/issues/6" class="issue-link" title="JS causing page to scroll on load">opentechinstitute/luci-commotion-splash#6</a></p>

<p>to test:</p>

<p>open a <strong>small</strong> browser window (~500px height), then open the captive portal settings page. Once the page has loaded, it should be scrolled all the way to the top.</p>

<hr><p><em><strong><a href="https://github.com/dismantl">dismantl</a></strong> included the following code: <a href="https://github.com/opentechinstitute/luci-commotion-splash/pull/14/commits">https://github.com/opentechinstitute/luci-commotion-splash/pull/14/commits</a></em></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/luci-commotion/issues/304">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODczMjgxMiwiZGF0YSI6eyJpZCI6MzQ5ODA5Nzl9fQ==--3348a960a5eba20c50b3ee3a7917f65c51d62150.gif" width="1" /></p>