mirror of
https://github.com/flarum/core.git
synced 2025-05-08 16:35:26 +02:00
Notification: fix wrong external
attr for Link
This commit is contained in:
parent
1fc24635f6
commit
d409484abf
@ -24,7 +24,7 @@ export default class Notification extends Component {
|
||||
<Link
|
||||
className={'Notification Notification--' + notification.contentType() + ' ' + (!notification.isRead() ? 'unread' : '')}
|
||||
href={href}
|
||||
external={href.indexOf('://') === -1}
|
||||
external={href.includes('://')}
|
||||
onclick={this.markAsRead.bind(this)}
|
||||
>
|
||||
{!notification.isRead() &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user