]> git.openstreetmap.org Git - rails.git/commitdiff
Allow iD in iframe to request fullscreen
authorBryan Housel <bryan@mapbox.com>
Wed, 16 Sep 2015 04:17:27 +0000 (00:17 -0400)
committerBryan Housel <bryan@mapbox.com>
Wed, 16 Sep 2015 04:17:27 +0000 (00:17 -0400)
app/views/site/_id.html.erb

index a6f42e43cf14f2e0a1c7e633954a9ad7596727c4..5e7fdd04cf286c8acf0262cddd820d3b537059e8 100644 (file)
@@ -1,6 +1,6 @@
 <% if defined? ID_KEY %>
   <div id="map">
-    <iframe frameBorder="0" id="id-embed" class="id-embed"></iframe>
+    <iframe frameBorder="0" id="id-embed" class="id-embed" allowfullscreen></iframe>
   </div>
   <script>
     var params = {};