Fixed Uncaught TypeError: t.$sidebar is null

Affected version

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFMG release (2.2.1).

Change log:
Avoid a race condition when loading lightbox sidebar for media items and closing the lightbox before the sidebar has finished loading.
There may be a delay before changes are rolled out to the XenForo Community.