]> git.openstreetmap.org Git - rails.git/commitdiff
fixed "end tag" -> "source"
authorKristjan <35647502+KristjanESPERANTO@users.noreply.github.com>
Thu, 26 Dec 2019 10:23:45 +0000 (11:23 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Dec 2019 10:23:45 +0000 (11:23 +0100)
Fixed inattentiveness from my last commit.

app/views/layouts/_header.html.erb

index ad7df4c79df25d460a2e51aa110197c20ba3cedf..6df8f02da2a1e43a0227a9a9ff583aae19e667de 100644 (file)
@@ -2,7 +2,7 @@
   <h1>
     <a href="<%= root_path %>" class="geolink">
       <picture>
-        <end tag srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
+        <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>
       <%= t "layouts.project_name.h1" %>