XenForo Expanding Signatures on 2.3

G

Grumpy Squid

Guest
We have some code we use to expand signatures when they are clicked. After we upgraded to 2.3 it no longer functions. From what I've read it's because of the removal of Jquery.

What would be a non-Jquery way of accomplishing the same thing?

Code:

Code:
<xf:js>       
    $('.message-signature').each(function () {
           var jSignature = $(this);
            jSignature.find('.bbCodeSpoiler button').click(function () {
        jSignature.css('max-height', 'none');
        });
    });
</xf:js>

Continue reading...