<p>Which is in fact the same as the original patch posted on the trac ticket, which I rejected in large part because of the direct use of <code>getElementById</code> which I didn't think was fully portable.</p>

<p>I also hadn't understood, and the author didn't explain, why using the <code>autofocus</code> attribute was a good idea even if you were still going to do it in javascript as well.</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/openstreetmap/openstreetmap-website/pull/175#issuecomment-11293777'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_kZ0nsCNrGeIi2yKjbKtkvk.gif' height='1' width='1'>