Fixed Reply in bbcode mode gives error about "autofocus" in the console

Affected version
2.3.3, chrome 128
  • Set editor to BBCode mode
  • Click reply on a post

Code:
editor-compiled.js?_v=583d5431:1063 Uncaught TypeError: a.bbCode.getTextArea(...).autofocus is not a function
    at b.scrollToCursor (editor-compiled.js?_v=583d5431:1063:493)
    at Object.focusEditor (core-compiled.js?_v=583d5431:60:313)
    at b.click (message.min.js?_v=583d5431:9:294)
    at b._onEvent (core-compiled.js?_v=583d5431:189:278)
    at a (core-compiled.js?_v=583d5431:187:391)
    at HTMLDocument.<anonymous> (core-compiled.js?_v=583d5431:191:156)

This is because autofocus is actually the boolean false, not a function.
 
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 XF release (2.3.4).

Change log:
Fix editor autofocus behavior when in BBCode mode
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom