Notification links are no longer opened in new tabs

This commit is contained in:
Eduard Urbach 2018-06-28 17:22:15 +09:00
parent 21f3eeca4c
commit f0c280af1a

View File

@ -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)