提交 1ddcdae4 编写于 作者: G Gabriele Cirulli

fix hashtag

上级 b71af089
......@@ -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>
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册