Skip to content

Commit

Permalink
Crazy nonsense fix for Ctrl-Enter crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarsa committed Jan 16, 2010
1 parent 01c262a commit 6e0619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion popup.html
Expand Up @@ -303,7 +303,6 @@
if(success) {
var textArea = $("#compose_tweet_area textarea");
var msg = textArea.val();
textArea.val("");
Composer.replyId = null;
Composer.textareaChanged();
Composer.showComposeArea();
Expand All @@ -314,6 +313,7 @@
} else {
loadTimeline(true, "home");
}
textArea.val("");
} else {
$("#compose_tweet_area textarea").focus();
Renderer.showError('Unexpected error ' + status + ' sending tweet.', 'Composer.sendTweet');
Expand Down

0 comments on commit 6e0619b

Please sign in to comment.