Merge pull request #92 from leereilly/dat-hashtag

Remove extra whitespace preceeding #hextris hashtag
This commit is contained in:
lengstrom 2014-08-19 23:42:37 -04:00
commit fa7d791677

View file

@ -96,7 +96,7 @@ function showText(text) {
'pausedMobile': "<div class='centeredHeader unselectable'>Paused</div><br><div class='unselectable centeredSubHeader'>Press <i class='fa fa-play'></i> to resume</div><div style='height:100px;line-height:100px;cursor:pointer;'></div>",
'start': "<div class='centeredHeader unselectable' style='line-height:80px;'>Press enter to start</div>",
'gameover': "<div class='centeredHeader unselectable'> Game Over: " + score + " pts</div><br><div style='font-size:24px;' class='centeredHeader unselectable'> High Scores:</div><table class='tg' style='margin:0px auto'> "
};
if (text == 'paused') {
@ -132,7 +132,7 @@ function showText(text) {
}
}
}
messages['gameover'] += "<div class='fltrt' id='tweetStuff'><a class='tweet' href='https://twitter.com/intent/tweet?text=Can you beat my &button_hashtag=hextris score of "+ score +" points on http://hextris.github.io/hextris?' data-lang='en' data-related='hextris:hextris'>Share Your Score on Twitter!!!</a></div>"
messages['gameover'] += "<div class='fltrt' id='tweetStuff'><a class='tweet' href='https://twitter.com/intent/tweet?text=Can you beat my&button_hashtag=hextris score of "+ score +" points on http://hextris.github.io/hextris?' data-lang='en' data-related='hextris:hextris'>Share Your Score on Twitter!!!</a></div>"
$("#overlay").html(messages[text]);
$("#overlay").fadeIn("1000", "swing");