Skip to content

Commit

Permalink
Fixing the copy
Browse files Browse the repository at this point in the history
  • Loading branch information
prtksxna committed Apr 5, 2013
1 parent 988d4c7 commit 04fdeb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions res/js/game.js
Expand Up @@ -288,18 +288,19 @@ var Game = {


// Social
var points = this.points;
$("#ic_twitter").bind("click", function(e){
var screenshot = new Clay.Screenshot( { prompt: false } );
screenshot.save(function(response) {
(new Clay.Twitter()).post( { message: "Playing http://vertigo.clay.io ! Just scored " + this.points + "! Can you beat my score?", picture: response.imageSrc, editable: true } );
(new Clay.Twitter()).post( { message: "Playing http://vertigo.clay.io ! Just scored " + points + "! Can you beat my score?", picture: response.imageSrc, editable: true } );
});

});

$("#ic_facebook").bind("click", function(e){
var screenshot = new Clay.Screenshot( { prompt: false } );
screenshot.save(function(response) {
(new Clay.Facebook()).post( { message: "Playing http://vertigo.clay.io ! Just scored " + this.points + "! Can you beat my score?", picture: response.imageSrc, editable: true } );
(new Clay.Facebook()).post( { message: "Playing http://vertigo.clay.io ! Just scored " + points + "! Can you beat my score?", picture: response.imageSrc, editable: true } );
});
});

Expand Down

0 comments on commit 04fdeb0

Please sign in to comment.