Fixed Enhanced "New threads" widget does not have widget-key data attribute

TickTackk

Well-known member
Affected version
2.1.7
Making it harder to style. Simply replacing
HTML:
        <div class="blocks">
            <xf:if is="$showExpandedTitle">
                <h2 class="blocks-header">
                    {$title}
                </h2>
            </xf:if>
with
HTML:
        <div class="blocks"{{ widget_data($widget) }}>
            <xf:if is="$showExpandedTitle">
                <h2 class="blocks-header">
                    {$title}
                </h2>
            </xf:if>

Allows targeting every thread list item.
 
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.1.8).

Change log:
Add widget data attributes to expanded new thread widget
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom