From 9668e63f34a88349e050ec33a712ceedcab84a5a Mon Sep 17 00:00:00 2001 From: Nicolas Perriault Date: Fri, 28 Apr 2017 09:24:14 +0200 Subject: [PATCH] Open account when clicking on a follower's bio. --- src/View.elm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/View.elm b/src/View.elm index f4230d6..5650da3 100644 --- a/src/View.elm +++ b/src/View.elm @@ -369,7 +369,12 @@ notificationFollowView { accounts } = div [ class "status follow-profile" ] [ accountAvatarLink account , div [ class "username" ] [ accountLink account ] - , p [ class "status-text" ] <| ViewHelper.formatContent account.note [] + , p + [ class "status-text" + , onClick <| LoadAccount account.id + ] + <| + ViewHelper.formatContent account.note [] ] in div [ class "notification follow" ]