You guys made some fixes to having a second variation menu:
[EMBED content="thread-226524"]https://xenforo.com/community/threads/second-style-variation-menu-causes-issues.226524/[/EMBED]
While those issues are fixed, it appers with the updated version the icon is completely removed from the source code when switching.
[ATTACH=full]318579[/ATTACH]
[ATTACH=full]318580[/ATTACH]
I think I could probably work up a CSS solution but this seems like a bug.
You can test using this code:
[code]
<xf:if is="$xf.visitor.canChangeStyleVariation($xf.style)">
<a href="{{ link('misc/style-variation') }}" rel="nofollow"
class="p-navgroup-link js-styleVariationsLink"
data-xf-init="tooltip" title="{{ phrase('style_variation') }}"
data-xf-click="menu" data-z-index-ref=".u-bottomFixer" role="button" aria-expanded="false" aria-haspopup="true">
<xf:fa icon="{{ $xf.style.getVariationIcon($xf.visitor.style_variation) }}" title="{{ phrase('style_variation') }}" />
</a>
<div class="menu" data-menu="menu" aria-hidden="true">
<div class="menu-content js-styleVariationsMenu">
<xf:macro name="style_variation_macros::variation_menu"
arg-style="{$xf.style}"
arg-live="{{ true }}" />
</div>
</div>
</xf:if>[/code]
Add right below:
[code]<div class="p-navgroup p-discovery{{ !$xf.visitor.canSearch() ? ' p-discovery--noSearch' : '' }}">[/code]