fixed filters
This commit is contained in:
@@ -61,9 +61,11 @@ function tweetCell(tweet) {
|
||||
function filterTweets(tweets, bannedWords=[], searchWords=[], sorted, order) {
|
||||
if(bannedWords.length == 1 && bannedWords[0] == ""){
|
||||
bannedWords = []
|
||||
filters.blockedWords = []
|
||||
}
|
||||
if(searchWords.length == 1 && searchWords[0] == ""){
|
||||
searchWords = []
|
||||
filters.searchedWords = []
|
||||
}
|
||||
if(bannedWords.length > 0){
|
||||
tweets = filterBannedWords(bannedWords, tweets)
|
||||
|
||||
Reference in New Issue
Block a user