Fixed Stray XF.Element.register() in password_box.js


Well-known member
Affected version
password_box.js has an element register in it that I think doesn't belong.

XF.Element.register('password-hide-show', 'XF.PasswordHideShow');

The XF.PasswordHideShow class doesn't exist in that JavaScript file (it's in core/form.js, which also has the same XF.Element.register() call).

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 XF release (2.2.9).

Change log:
Remove stray XF.Element.register() in password_box.js
There may be a delay before changes are rolled out to the XenForo Community.