Fix code formatting.

This commit is contained in:
Nicolas Perriault 2017-04-22 14:49:05 +02:00
parent c834260557
commit b10761a413
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A

View File

@ -122,10 +122,9 @@ statusView ({ account, content, media_attachments, reblog, mentions } as status)
let
accountLinkAttributes =
[ href account.url
-- When clicking on a status, we should not let the browser
-- redirect to a new page. That's why we're preventing the default
-- behavior here
-- When clicking on a status, we should not let the browser
-- redirect to a new page. That's why we're preventing the default
-- behavior here
, ViewHelper.onClickWithPreventAndStop (OnLoadUserAccount account.id)
]
in
@ -144,8 +143,7 @@ statusView ({ account, content, media_attachments, reblog, mentions } as status)
Nothing ->
div [ class "status" ]
[ a accountLinkAttributes
[ img [ class "avatar", src account.avatar ] []
]
[ img [ class "avatar", src account.avatar ] [] ]
, div [ class "username" ]
[ a accountLinkAttributes
[ text account.display_name