mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 23:49:38 +08:00

Currently the dominant color attribute is only set for post images (not chat). As a result, clicking lightbox images in chat will load the image within lightbox but also shows a JS error. This change ensures that the dominant color is set before attempting to update the site theme color.