]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Remove <picture>s around <img srcset=...>
[rails.git] / app / views / layouts / _header.html.erb
index fd2ae0a4a512b93bd95d32d7d46116a595828e26..8ff04536d19b6d4cbe99f41117b1448538c619f8 100644 (file)
@@ -1,10 +1,7 @@
 <header class="closed clearfix">
   <h1>
     <a href="<%= root_path %>" class="geolink">
-      <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
-        <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
-      </picture>
+      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
       <%= t "layouts.project_name.h1" %>
     </a>
   </h1>