UX: Skip github commit avatars for topic/post thumbnails (#12157)

GitHub oneboxes use `.onebox-avatar-inline`, not `.onebox-avatar`
This commit is contained in:
David Taylor 2021-02-22 10:40:40 +00:00 committed by GitHub
parent 72258c663b
commit 04c75d417b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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