fix hashtag

This commit is contained in:
Gabriele Cirulli
2014-03-10 19:55:24 +01:00
parent b71af089c5
commit 1ddcdae421
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@
Created by <a href="http://gabrielecirulli.com" target="_blank">Gabriele Cirulli.</a> Based on <a href="https://itunes.apple.com/us/app/1024!/id823499224" target="_blank">1024 by Veewo Studio.</a>
</p>
<div class="sharing">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out #2048, a game where you join numbers to score high!" data-via="gabrielecirulli">Tweet</a>
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out 2048, a game where you join numbers to score high! #2048game" data-via="gabrielecirulli">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</div>
+2 -2
View File
@@ -130,8 +130,8 @@ HTMLActuator.prototype.scoreTweetButton = function () {
tweet.setAttribute("data-via", "gabrielecirulli");
tweet.textContent = "Tweet";
var text = "I scored " + this.score + " points at #2048, a game where you " +
"join numbers to score high!";
var text = "I scored " + this.score + " points at 2048, a game where you " +
"join numbers to score high! #2048game";
tweet.setAttribute("data-text", text);
return tweet;