Skip to content

Commit

Permalink
Twitter viewbox correction
Browse files Browse the repository at this point in the history
Although the code worked, it logged an error in the Javascript console
  • Loading branch information
multiplex10 committed Jul 19, 2013
1 parent 3a2f69b commit e7b3c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion share_icons-fallbacks.html
@@ -1,5 +1,5 @@
<p id="share_icons">Share This:&nbsp;&nbsp;
<a href="https://twitter.com/intent/tweet?text=YOUR_DESCRIPTION%20YOUR_URL&url=YOUR_URL&via=multiplex10" title="Tweet this!" target="_blank" rel="nofollow"><svg id="share_twitter" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="32" height="32" viewBox="0" enable-background="new 0 0 32 32" xml:space="preserve">
<a href="https://twitter.com/intent/tweet?text=YOUR_DESCRIPTION%20YOUR_URL&url=YOUR_URL&via=multiplex10" title="Tweet this!" target="_blank" rel="nofollow"><svg id="share_twitter" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="32" height="32" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve">
<switch>
<g opacity="1"><rect x="-1.5" y="-1.5" fill="#2AA9E0" width="35" height="35"/><path fill="#FFFFFF" d="M26.667 9.384c-0.785 0.348-1.628 183-2.514 0.689 0.904-142 1.598-1.399 1.924-2.421 -0.846 102-1.782 0.866-2.779 1.062 -0.798-0.851-1.936-1.382-3.195-1.382 -2.417 0-4.377 1.96-4.377 4.377 0 0.343 0.039 0.677 0.113 0.997 -3.638-0.183-6.863-1.925-9.021-4.573 -0.377 0.646-193 1.398-193 2.2 0 1.518 0.773 2.858 1.947 3.643 -0.717-0.023-1.392-0.22-1.982-147 0 0.018 0 0.037 0 0.055 0 2.121 1.509 3.889 3.511 4.292 -0.367 0.1-.54 0.154-1.153 0.154 -0.282 0-156-0.027-0.823-0.079 157 1.739 2.173 3.004 4.089 3.039 -1.498 1.174-3.385 1.874-5.436 1.874 -0.353 0-0.702-0.021-1.044-0.061 1.937 1.242 4.238 1.967 6.709 1.967 8.05 0 12.453-6.669 12.453-12.453 0-0.19-0.004-0.378-0.013-166C25.338 11.032 26.08 10.262 26.667 9.384z"/>
<set attributeName="opacity" from="1" to=".5" begin="share_twitter.mouseover" end="share_twitter.mouseout"/><set attributeName="opacity" from=".5" to="1" begin="share_twitter.mousedown" end="share_twitter.mouseout"/>
Expand Down
2 changes: 1 addition & 1 deletion share_icons.html
@@ -1,5 +1,5 @@
<p id="share_icons">Share This Post:&nbsp;&nbsp;
<a href="https://twitter.com/intent/tweet?text=YOUR_DESCRIPTION%20&url=YOUR_URL&via=YOUR_USERNAME" title="Tweet this!" target="_blank" rel="nofollow"><svg id="share_twitter" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="32" height="32" viewBox="0" enable-background="new 0 0 32 32" xml:space="preserve"><rect x="-1.5" y="-1.5" fill="#2AA9E0" width="35" height="35"/><path fill="#FFFFFF" d="M26.667 9.384c-0.785 0.348-1.628 0.583-2.514 0.689 0.904-0.542 1.598-1.399 1.924-2.421 -0.846 0.502-1.782 0.866-2.779 1.062 -0.798-0.851-1.936-1.382-3.195-1.382 -2.417 0-4.377 1.96-4.377 4.377 0 0.343 0.039 0.677 0.113 0.997 -3.638-0.183-6.863-1.925-9.021-4.573 -0.377 0.646-0.593 1.398-0.593 2.2 0 1.518 0.773 2.858 1.947 3.643 -0.717-0.023-1.392-0.22-1.982-0.547 0 0.018 0 0.037 0 0.055 0 2.121 1.509 3.889 3.511 4.292 -0.367 0.1-0.754 0.154-1.153 0.154 -0.282 0-0.556-0.027-0.823-0.079 0.557 1.739 2.173 3.004 4.089 3.039 -1.498 1.174-3.385 1.874-5.436 1.874 -0.353 0-0.702-0.021-1.044-0.061 1.937 1.242 4.238 1.967 6.709 1.967 8.05 0 12.453-6.669 12.453-12.453 0-0.19-0.004-0.378-0.013-0.566C25.338 11.032 26.08 10.262 26.667 9.384z"/>
<a href="https://twitter.com/intent/tweet?text=YOUR_DESCRIPTION%20&url=YOUR_URL&via=YOUR_USERNAME" title="Tweet this!" target="_blank" rel="nofollow"><svg id="share_twitter" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="32" height="32" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve"><rect x="-1.5" y="-1.5" fill="#2AA9E0" width="35" height="35"/><path fill="#FFFFFF" d="M26.667 9.384c-0.785 0.348-1.628 0.583-2.514 0.689 0.904-0.542 1.598-1.399 1.924-2.421 -0.846 0.502-1.782 0.866-2.779 1.062 -0.798-0.851-1.936-1.382-3.195-1.382 -2.417 0-4.377 1.96-4.377 4.377 0 0.343 0.039 0.677 0.113 0.997 -3.638-0.183-6.863-1.925-9.021-4.573 -0.377 0.646-0.593 1.398-0.593 2.2 0 1.518 0.773 2.858 1.947 3.643 -0.717-0.023-1.392-0.22-1.982-0.547 0 0.018 0 0.037 0 0.055 0 2.121 1.509 3.889 3.511 4.292 -0.367 0.1-0.754 0.154-1.153 0.154 -0.282 0-0.556-0.027-0.823-0.079 0.557 1.739 2.173 3.004 4.089 3.039 -1.498 1.174-3.385 1.874-5.436 1.874 -0.353 0-0.702-0.021-1.044-0.061 1.937 1.242 4.238 1.967 6.709 1.967 8.05 0 12.453-6.669 12.453-12.453 0-0.19-0.004-0.378-0.013-0.566C25.338 11.032 26.08 10.262 26.667 9.384z"/>
<set attributeName="opacity" from="1" to="0.5" begin="share_twitter.mouseover" end="share_twitter.mouseout"/><set attributeName="opacity" from="0.5" to="1" begin="share_twitter.mousedown" end="share_twitter.mouseout"/>
</svg>
</a>
Expand Down

0 comments on commit e7b3c4b

Please sign in to comment.