[devdocsgjs/main: 570/1867] Stop using an iframe for the GitHub star button




commit 01f1eda4fa3301ef56eb32718f6b326500d3091f
Author: Jed Fox <git twopointzero us>
Date:   Mon Feb 11 09:55:36 2019 -0500

    Stop using an iframe for the GitHub star button

 assets/javascripts/templates/pages/root_tmpl.coffee.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/assets/javascripts/templates/pages/root_tmpl.coffee.erb 
b/assets/javascripts/templates/pages/root_tmpl.coffee.erb
index 7adce7fd..f8573805 100644
--- a/assets/javascripts/templates/pages/root_tmpl.coffee.erb
+++ b/assets/javascripts/templates/pages/root_tmpl.coffee.erb
@@ -39,7 +39,7 @@ app.templates.intro = """
       <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>.
       <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>.
-          <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>
+          <object data="https://img.shields.io/github/stars/freeCodeCamp/devdocs.svg?style=social"; 
type="image/svg+xml" aria-hidden="true"></object>
       <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!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]