Notification links are no longer opened in new tabs
This commit is contained in:
parent
21f3eeca4c
commit
f0c280af1a
@ -24,7 +24,7 @@ component AllNotifications(notifications []*arn.Notification)
|
|||||||
a(href=notification.User().Link())= notification.User().Nick
|
a(href=notification.User().Link())= notification.User().Nick
|
||||||
|
|
||||||
component Notification(notification *arn.Notification)
|
component Notification(notification *arn.Notification)
|
||||||
a.notification(href=notification.Link, target="_blank", data-seen=notification.Seen, data-id=notification.ID)
|
a.notification(href=notification.Link, data-seen=notification.Seen, data-id=notification.ID)
|
||||||
.notification-icon
|
.notification-icon
|
||||||
img.lazy(data-src=notification.Icon, alt=notification.Title)
|
img.lazy(data-src=notification.Icon, alt=notification.Title)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user