XF Installation: www.domain.com/community/
Subdomain: subdomain.domain.com/ -> this is where the add-on will display pages.
When the user is on the subdomain, logout doesn't work. Following JS error is thrown after clicking 'Log Out', instead of showing the overlay that asks for logout confirmation -
Attempted to call XenForo.OverlayLoader.show() for logout/ before overlay is created