From 8ecaed3d2f5a19bf1a5c4cb077658e1bd3bc8438 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 31 Aug 2024 09:27:42 -0700 Subject: remove all the twitter junk --- views/new-post.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'views/new-post.php') diff --git a/views/new-post.php b/views/new-post.php index ea8eb78..2190752 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -622,7 +622,7 @@ $(function(){ $("#note_content").on('change keyup', function(e){ var text = $("#note_content").val(); var tweet_length = tw_text_proxy(text).length; - var tweet_check = tw_length_check(text, 280, "user->twitter_username ?>"); + var tweet_check = tw_length_check(text, 280, ""); var remaining = 280 - tweet_length; $("#note_content_remaining span").text(remaining); $("#note_content_remaining").removeClass("pcheck200 pcheck206 pcheck207 pcheck208 pcheck413"); @@ -683,17 +683,6 @@ $(function(){ // } // $("#note_category").val(category.join(", ")); - /* - // stop auto-populating usernames in replies, since Twitter no longer requires it - if($("#note_content").val() == "" && data.mentions) { - var mentions = ''; - for(var i in data.mentions) { - mentions += '@'+data.mentions[i]+' '; - } - $("#note_content").val(mentions); - } - */ - if(data.entry) { $(".reply-context .content").text(data.entry.content.text); if(data.entry.name) { -- cgit v1.2.3