1
0
mirror of https://github.com/flarum/core.git synced 2025-07-09 11:03:06 +02:00

Fix MarkRead Mobile Gesture (#2383)

This commit is contained in:
Sami Mazouz
2020-10-11 22:26:32 +01:00
committed by GitHub
parent 08ec274a24
commit 7358437c59

View File

@ -91,12 +91,12 @@ export default class DiscussionListItem extends Component {
)
: ''}
<a
<span
className={'Slidable-underneath Slidable-underneath--left Slidable-underneath--elastic' + (isUnread ? '' : ' disabled')}
onclick={this.markAsRead.bind(this)}
>
{icon('fas fa-check')}
</a>
</span>
<div className={'DiscussionListItem-content Slidable-content' + (isUnread ? ' unread' : '') + (isRead ? ' read' : '')}>
<Link