Fix: Exclude notification
This commit is contained in:
parent
d2a86af0e2
commit
17a71ddbf6
@ -391,28 +391,28 @@ function exclude(key) {
|
|||||||
excludetxt = "?exclude_types[]=mention"
|
excludetxt = "?exclude_types[]=mention"
|
||||||
}
|
}
|
||||||
if ($('#exc-fav-' + key + ':checked').val()) {
|
if ($('#exc-fav-' + key + ':checked').val()) {
|
||||||
if (!excludetxt || excludetxt !="") {
|
if (excludetxt || excludetxt !="") {
|
||||||
excludetxt = excludetxt + "&exclude_types[]=favourite"
|
excludetxt = excludetxt + "&exclude_types[]=favourite"
|
||||||
} else {
|
} else {
|
||||||
excludetxt = "?exclude_types[]=favourite"
|
excludetxt = "?exclude_types[]=favourite"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($('#exc-bt-' + key + ':checked').val()) {
|
if ($('#exc-bt-' + key + ':checked').val()) {
|
||||||
if (!excludetxt || excludetxt !="") {
|
if (excludetxt || excludetxt !="") {
|
||||||
excludetxt = excludetxt + "&exclude_types[]=reblog"
|
excludetxt = excludetxt + "&exclude_types[]=reblog"
|
||||||
} else {
|
} else {
|
||||||
excludetxt = "?exclude_types[]=reblog"
|
excludetxt = "?exclude_types[]=reblog"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($('#exc-follow-' + key + ':checked').val()) {
|
if ($('#exc-follow-' + key + ':checked').val()) {
|
||||||
if (!excludetxt || excludetxt !="") {
|
if (excludetxt || excludetxt !="") {
|
||||||
excludetxt = excludetxt + "&exclude_types[]=follow"
|
excludetxt = excludetxt + "&exclude_types[]=follow"
|
||||||
} else {
|
} else {
|
||||||
excludetxt = "?exclude_types[]=follow"
|
excludetxt = "?exclude_types[]=follow"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($('#exc-poll-' + key + ':checked').val()) {
|
if ($('#exc-poll-' + key + ':checked').val()) {
|
||||||
if (!excludetxt || excludetxt !="") {
|
if (excludetxt || excludetxt !="") {
|
||||||
excludetxt = excludetxt + "&exclude_types[]=poll"
|
excludetxt = excludetxt + "&exclude_types[]=poll"
|
||||||
} else {
|
} else {
|
||||||
excludetxt = "?exclude_types[]=poll"
|
excludetxt = "?exclude_types[]=poll"
|
||||||
@ -447,7 +447,7 @@ function resetNotfFilter(tlid){
|
|||||||
}
|
}
|
||||||
function notfFilter(id,tlid){
|
function notfFilter(id,tlid){
|
||||||
var excludetxt = localStorage.getItem("exclude-" + tlid);
|
var excludetxt = localStorage.getItem("exclude-" + tlid);
|
||||||
if (!excludetxt || excludetxt !="") {
|
if (excludetxt || excludetxt !="") {
|
||||||
excludetxt = excludetxt + "&account_id="+id
|
excludetxt = excludetxt + "&account_id="+id
|
||||||
} else {
|
} else {
|
||||||
excludetxt = "?account_id="+id
|
excludetxt = "?account_id="+id
|
||||||
|
Loading…
Reference in New Issue
Block a user