From 409635b00cf0f2cd8ca4bf67d5c4c90b7c48c459 Mon Sep 17 00:00:00 2001 From: Cutls Date: Tue, 4 Jun 2019 22:41:04 +0900 Subject: [PATCH] Fix: hide filter btns on coll notf pane --- app/js/tl/filter.js | 2 +- app/js/tl/parse.js | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/js/tl/filter.js b/app/js/tl/filter.js index ffc33899..5d0de708 100644 --- a/app/js/tl/filter.js +++ b/app/js/tl/filter.js @@ -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 diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index a22c344f..759f0ade 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -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 = '' + date(toot.created_at, datetype) + @@ -595,11 +600,11 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var blur = null } if (media.pleroma && media.pleroma.mime_type.indexOf("video") !== -1) { - viewer = viewer + ''; + viewer = viewer + ''; } else { if (media.type == "unknown") { viewer = viewer + '[' + lang.lang_parse_unknown + '] '