RSS Feed/News 2.2 regession: XF._IgnoredWatcher.initializeHash does not work es expected

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
31,434
Points
823

Reputation:

If the location hash points to ignored content, this content should be unhidden so scrolling works correctly.

This does not wirh in XenForo 2.3 due to bug that was introduced when removing jQuery.

XenForo 2.2 JS
Code:

Code:
initializeHash: function()
{
    if (window.location.hash)
    {
        var cleanedHash = window.location.hash.replace(/[^\w_#-]/g, '');
        if (cleanedHash === '#')
        {
            return;
        }

var $jump = $(cleanedHash),

XenForo 2.3 JS
Code:

...

Read more

Continue reading...
 
Status
Not open for further replies.
Top