<p>Oops just found another glitch: if you shrink your screen so that the "small" stylesheet is in operation, then the routing <strong>uses the wrong search text</strong>, because it grabs the text from the copy of the form which is shown to big-screeners!</p>
<p>This will fail silently if there's no text in the big-screener form: it simply looks like it silently decides not to give you any routing. But if you start in big-screen mode, enter text, then shrink to small-screen mode and try a <em>different</em> search, you'll see it return results for the old one.</p>
<p>I believe the reason is related to the fact that the site outputs two separate HTML blocks for the form in the two modes. I'd imagine the JS didn't expect that.</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/716#issuecomment-71507959">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLSyDI2CwXVRMXmc_MA6Pfsn7Tsq8ks5nlnrngaJpZM4Bn9XC.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/716#issuecomment-71507959"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>