Skip to content

Commit ac50e99

Browse files
authored
Stop using an iframe for the GitHub star button (#975)
Stop using an iframe for the GitHub star button
2 parents a0c12c9 + 01f1eda commit ac50e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/templates/pages/root_tmpl.coffee.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ app.templates.intro = """
3939
<li>DevDocs works <a href="/offline">offline</a>, on mobile, and can be installed on <a href="https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe">Chrome</a>.
4040
<li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.
4141
<li>DevDocs is free and <a href="https://github.com/freeCodeCamp/devdocs">open source</a>.
42-
<iframe class="_github-btn" src="//ghbtns.com/github-btn.html?user=freeCodeCamp&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
42+
<object data="https://img.shields.io/github/stars/freeCodeCamp/devdocs.svg?style=social" type="image/svg+xml" aria-hidden="true"></object>
4343
<li>And if you're new to coding, check out <a href="https://www.freecodecamp.org/">freeCodeCamp's open source curriculum</a>.
4444
</ol>
4545
<p>Happy coding!

0 commit comments

Comments
 (0)