<p>You can find a demo of the problem here: <a href="http://floscher.github.io/openstreetmap-website/demo.html">http://floscher.github.io/openstreetmap-website/demo.html</a><br>
The first map is the current <code>embed.html</code>, the second map incorporates my proposed change.</p>

<p>Previously when you embedded a map with the HTML from the share-menu on <a href="http://osm.org">http://osm.org</a>, the link "Report a problem" was broken, because some browsers (at least Firefox 43 and Chromium 47) denied to open that link.</p>

<p>In Firefox the map is turning invisible and I get the following error message in the developer console:</p>

<pre><code>Load denied by X-Frame-Options: http://www.openstreetmap.org/fixthemap?lat=0&lon=1.40625&zoom=0 does not permit cross-origin framing.
</code></pre>

<p>In Chromium simply nothing happens and the developer console shows:</p>

<pre><code>Refused to display 'http://www.openstreetmap.org/fixthemap?lat=-1.1449996853268662e-13&lon=0&zoom=0' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
</code></pre>

<p>I fixed that problem by setting the attribute <code>target="_blank"</code> for that link, so it now opens in a new tab.</p>

<p>I also added the text of this link to the translatable strings.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/1136'>https://github.com/openstreetmap/openstreetmap-website/pull/1136</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>When clicking "Report a problem" in an embedded map, open new tab/window</li>
  <li>Make "Report a problem" link in embeddable map translateable</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1136/files#diff-0">app/assets/javascripts/embed.js.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1136/files#diff-1">config/locales/en.yml</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/1136.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/1136.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/1136.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/1136.diff</a></li>
</ul>

<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/1136">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLSC2WXM8DStEtvdtH8RJBtzRZUotks5paVpigaJpZM4HGDGg.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/1136"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>