Fixed Preview bug

Affected version


Well-known member
When creating a thread, if you alternate between the preview buttons, one of the buttons stops working. Not sure if that's as-designed, after I type the "tttt" I attempt to click the white preview button twice with no success.


XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.12).

Change log:
No longer cache the preview container object in the PreviewClick handler. If there are multiple handlers per page, the cached container becomes incorrect if using different handlers.
Any changes made as a result of this issue being resolved may not be rolled out here until later.