Fix: hide filter btns on coll notf pane
This commit is contained in:
parent
17a71ddbf6
commit
409635b00c
|
@ -445,7 +445,7 @@ function resetNotfFilter(tlid){
|
|||
localStorage.setItem("exclude-" + tlid, "")
|
||||
parseColumn();
|
||||
}
|
||||
function notfFilter(id,tlid){
|
||||
function notfFilter(id,tlid,acct_id){
|
||||
var excludetxt = localStorage.getItem("exclude-" + tlid);
|
||||
if (excludetxt || excludetxt !="") {
|
||||
excludetxt = excludetxt + "&account_id="+id
|
||||
|
|
|
@ -235,7 +235,12 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||
var what = lang.lang_parse_polled;
|
||||
var icon = "fa-tasks purple-text";
|
||||
}
|
||||
var noticetext = '<i class="fas fa-filter pointer big-text" onclick="notfFilter(\'' + toot.account.id +
|
||||
if (tlid == "notf") {
|
||||
var notfFilHide = "hide"
|
||||
} else {
|
||||
var notfFilHide = ""
|
||||
}
|
||||
var noticetext = '<i class="fas fa-filter pointer big-text ' + notfFilHide + '" onclick="notfFilter(\'' + toot.account.id +
|
||||
'\',\'' + tlid + '\');" title="' + lang.lang_parse_notffilter + '"></i><span class="cbadge cbadge-hover"title="' + date(toot.created_at,
|
||||
'absolute') + '(' + lang.lang_parse_notftime + ')"><i class="far fa-clock"></i>' + date(toot.created_at,
|
||||
datetype) +
|
||||
|
|
Loading…
Reference in New Issue
Block a user