1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-24 06:15:48 +02:00

Fix DM reply input not getting focused after opening a conversation

This commit is contained in:
chylex 2017-04-06 18:39:47 +02:00
parent aca06ee805
commit ff40474f92

View File

@ -647,6 +647,15 @@
TD.services.TwitterMedia.YOUTUBE_RE = new RegExp(TD.services.TwitterMedia.YOUTUBE_LONG_RE.source+"|"+TD.services.TwitterMedia.YOUTUBE_TINY_RE.source);
TD.services.TwitterMedia.SERVICES["youtube"] = TD.services.TwitterMedia.YOUTUBE_RE;
//
// Block: Fix DM reply input box not getting focused after opening a conversation.
//
TD.components.ConversationDetailView.prototype.showChirp = appendToFunction(TD.components.ConversationDetailView.prototype.showChirp, function(){
setTimeout(function(){
$(".js-reply-tweetbox").first().focus();
}, 100);
});
//
// Block: Disable TweetDeck metrics.
//