Permalink
Browse files

Twitter share length changed 140 -> 280

Resolves #2352
  • Loading branch information...
dgw committed Jan 14, 2018
1 parent dd78d7f commit df0f2ae6bdcd56ccac5d41e00d079b255fc1c2ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/share.js
@@ -14,7 +14,7 @@ function update_share() {
$('#share_tw').attr('href', tw);
$('#share_fb').attr('href', fb);
var charcount = parseInt(140 - $('#tweet_body').val().length);
var charcount = parseInt(280 - $('#tweet_body').val().length);
$('#charcount')
.toggleClass("negative", charcount < 0)
.text( charcount );

0 comments on commit df0f2ae

Please sign in to comment.