diff --git a/index.html b/index.html index 3fb403eb11cd1c7787a837f2c407ab7ffc2c7b55..4396090c916b2ae5e5ab28c68c0b79e52f71bff1 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,7 @@ Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.

- Tweet + Tweet
diff --git a/js/html_actuator.js b/js/html_actuator.js index 81359a7685c4bdc8ce1babc76ba9e25d4a27f316..015d47b69964181017e12dcab72dd2a6e8ed5495 100644 --- a/js/html_actuator.js +++ b/js/html_actuator.js @@ -156,6 +156,7 @@ HTMLActuator.prototype.scoreTweetButton = function () { tweet.classList.add("twitter-share-button"); tweet.setAttribute("href", "https://twitter.com/share"); tweet.setAttribute("data-via", "gabrielecirulli"); + tweet.setAttribute("data-url", "http://git.io/2048"); tweet.textContent = "Tweet"; var text = "I scored " + this.score + " points at 2048, a game where you " +