FIX: Fix URL to user profile. (#6881)

This commit is contained in:
Bianca Nenciu
2019-01-23 19:27:21 +02:00
committed by Régis Hanol
parent bd31423137
commit d589c66f3e
4 changed files with 721 additions and 654 deletions

View File

@@ -144,7 +144,7 @@ createWidget("discourse-poll-voters", {
return h("li", [
avatarFor("tiny", {
username: user.username,
url: userPath(user.username),
url: this.site.mobileView ? userPath(user.username) : undefined,
template: user.avatar_template
}),
" "