RSS Feed/News Expanding Signatures on 2.3

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
28,775
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top