Add a check on the null configuration of the Viewer. It was causing the lib to crash when the page was open in another tab without focusing on it.
Add a check on the null configuration of the Viewer. It was causing the lib to crash when the page was open in another tab without focusing on it.

gopro/forgejs