mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:57:04 +08:00
UX: Skip github commit avatars for topic/post thumbnails (#12157)
GitHub oneboxes use `.onebox-avatar-inline`, not `.onebox-avatar`
This commit is contained in:
parent
72258c663b
commit
04c75d417b
|
@ -209,6 +209,7 @@ class CookedPostProcessor
|
|||
@doc.css("img.site-icon") -
|
||||
# minus onebox avatars
|
||||
@doc.css("img.onebox-avatar") -
|
||||
@doc.css("img.onebox-avatar-inline") -
|
||||
# minus github onebox profile images
|
||||
@doc.css(".onebox.githubfolder img")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user