Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #924 from moz65535/pinned_toot_disp_pin
Browse files Browse the repository at this point in the history
ピン留めされた投稿を表示する際にピン記号を表示するように
  • Loading branch information
Cutls committed Apr 22, 2023
2 parents acb4dd8 + 858f4fd commit 41113db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/js/tl/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ export function parse<T = string | string[]>(obj: Toot[], type: IColumnType | 'p
}
}
}
if (type === 'pinned') boostback = 'emphasized'
if (type === 'pinned') {
locked = locked + ` <i class="fas fa-thumb-tack red-text"></i>`
boostback = 'emphasized'
}
let spoil = ''
let spoiler = ''
let apiSpoil = ''
Expand Down

0 comments on commit 41113db

Please sign in to comment.