Przeglądaj źródła

Prefer <img> for img.shields.io/github/stars/freeCodeCamp/devdocs.svg

Simon Legner 1 rok temu
rodzic
commit
89ee4c589d

+ 1 - 1
assets/javascripts/templates/pages/root_tmpl.js.erb

@@ -39,7 +39,7 @@ app.templates.intro = `\
     <li>DevDocs works <a href="/offline">offline</a>, on mobile, and can be installed as web app.
     <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.
     <li>DevDocs is free and <a href="https://github.com/freeCodeCamp/devdocs">open source</a>.
-        <object data="https://img.shields.io/github/stars/freeCodeCamp/devdocs.svg?style=social" type="image/svg+xml" aria-hidden="true" height="20"></object>
+        <img src="https://img.shields.io/github/stars/freeCodeCamp/devdocs.svg?style=social" aria-hidden="true" height="20">
     <li>And if you're new to coding, check out <a href="https://www.freecodecamp.org/">freeCodeCamp's open source curriculum</a>.
   </ol>
   <p>Happy coding!