mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: broken onebox avatar image
This commit is contained in:
parent
a7b994160a
commit
36ba5f6716
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ module PrettyText
|
|||
protect do
|
||||
v8.eval <<JS
|
||||
avatarTemplate = #{avatar_template.inspect};
|
||||
size = #{size.to_i};
|
||||
size = #{size.inspect};
|
||||
JS
|
||||
decorate_context(v8)
|
||||
v8.eval("Discourse.Utilities.avatarImg({ avatarTemplate: avatarTemplate, size: size });")
|
||||
|
|
Loading…
Reference in a new issue