mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-02-04 11:04:29 +00:00
Merge pull request #187 from digital-dreamer/fix-no-mentions-message
Fix hashtag message in a wrong context
This commit is contained in:
commit
22678e56c5
@ -251,6 +251,7 @@ if(preferredLanguage == "en"){
|
|||||||
"Language": "Language",
|
"Language": "Language",
|
||||||
"Sound": "Sound",
|
"Sound": "Sound",
|
||||||
"Users": "Users",
|
"Users": "Users",
|
||||||
|
"Direct Message's copy to self": "Direct Message's copy to self",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if(preferredLanguage == "es"){
|
if(preferredLanguage == "es"){
|
||||||
@ -2186,6 +2187,7 @@ if(preferredLanguage == "cs"){
|
|||||||
"Language": "Jazyk",
|
"Language": "Jazyk",
|
||||||
"Sound": "Zvuky",
|
"Sound": "Zvuky",
|
||||||
"Users": "Uživatelé",
|
"Users": "Uživatelé",
|
||||||
|
"Direct Message's copy to self": "Posílat kopie přímých zpráv sám sobě",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -318,7 +318,7 @@ function processHashtag(postboard, hashtag, data) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!postboard.children().length&&!_hashtagPendingPosts.length)
|
if(!postboard.children().length && !_hashtagPendingPosts.length && hashtag != defaultScreenName)
|
||||||
postboard.closest("div").find(".no-posts-found-message").show();
|
postboard.closest("div").find(".no-posts-found-message").show();
|
||||||
|
|
||||||
if( _hashtagPendingPosts.length ) {
|
if( _hashtagPendingPosts.length ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user