Browse Source

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

Fix hashtag message in a wrong context
master
miguelfreitas 10 years ago
parent
commit
22678e56c5
  1. 2
      js/interface_localization.js
  2. 2
      js/twister_actions.js

2
js/interface_localization.js

@ -251,6 +251,7 @@ if(preferredLanguage == "en"){ @@ -251,6 +251,7 @@ if(preferredLanguage == "en"){
"Language": "Language",
"Sound": "Sound",
"Users": "Users",
"Direct Message's copy to self": "Direct Message's copy to self",
};
}
if(preferredLanguage == "es"){
@ -2186,6 +2187,7 @@ if(preferredLanguage == "cs"){ @@ -2186,6 +2187,7 @@ if(preferredLanguage == "cs"){
"Language": "Jazyk",
"Sound": "Zvuky",
"Users": "Uživatelé",
"Direct Message's copy to self": "Posílat kopie přímých zpráv sám sobě",
};
}

2
js/twister_actions.js

@ -318,7 +318,7 @@ function processHashtag(postboard, hashtag, data) { @@ -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();
if( _hashtagPendingPosts.length ) {

Loading…
Cancel
Save