Merge pull request #187 from digital-dreamer/fix-no-mentions-message

Fix hashtag message in a wrong context
This commit is contained in:
miguelfreitas 2014-10-01 15:06:49 -03:00
commit 22678e56c5
2 changed files with 3 additions and 1 deletions

View File

@ -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ě",
}; };
} }

View File

@ -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 ) {