mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
FIX: Prevent lightbox from loading onebox embed icons in chat uploads (#22776)
Sharing a link in chat will create a onebox embed with a source that includes a site icon and title. This change prevents loading the site icon into lightbox.
This commit is contained in:
parent
d11f02c03a
commit
f7353e7bfa
@ -72,7 +72,7 @@ export default {
|
||||
(element) => {
|
||||
lightboxService.setupLightboxes({
|
||||
container: element,
|
||||
selector: "img:not(.emoji, .avatar)",
|
||||
selector: "img:not(.emoji, .avatar, .site-icon)",
|
||||
});
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user