From 17a71ddbf697fd3481ca13368ece355e273f4c8c Mon Sep 17 00:00:00 2001 From: Cutls Date: Tue, 4 Jun 2019 22:37:03 +0900 Subject: [PATCH] Fix: Exclude notification --- app/js/tl/filter.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/js/tl/filter.js b/app/js/tl/filter.js index f012a7a9..ffc33899 100644 --- a/app/js/tl/filter.js +++ b/app/js/tl/filter.js @@ -391,28 +391,28 @@ function exclude(key) { excludetxt = "?exclude_types[]=mention" } if ($('#exc-fav-' + key + ':checked').val()) { - if (!excludetxt || excludetxt !="") { + if (excludetxt || excludetxt !="") { excludetxt = excludetxt + "&exclude_types[]=favourite" } else { excludetxt = "?exclude_types[]=favourite" } } if ($('#exc-bt-' + key + ':checked').val()) { - if (!excludetxt || excludetxt !="") { + if (excludetxt || excludetxt !="") { excludetxt = excludetxt + "&exclude_types[]=reblog" } else { excludetxt = "?exclude_types[]=reblog" } } if ($('#exc-follow-' + key + ':checked').val()) { - if (!excludetxt || excludetxt !="") { + if (excludetxt || excludetxt !="") { excludetxt = excludetxt + "&exclude_types[]=follow" } else { excludetxt = "?exclude_types[]=follow" } } if ($('#exc-poll-' + key + ':checked').val()) { - if (!excludetxt || excludetxt !="") { + if (excludetxt || excludetxt !="") { excludetxt = excludetxt + "&exclude_types[]=poll" } else { excludetxt = "?exclude_types[]=poll" @@ -447,7 +447,7 @@ function resetNotfFilter(tlid){ } function notfFilter(id,tlid){ var excludetxt = localStorage.getItem("exclude-" + tlid); - if (!excludetxt || excludetxt !="") { + if (excludetxt || excludetxt !="") { excludetxt = excludetxt + "&account_id="+id } else { excludetxt = "?account_id="+id