-
Notifications
You must be signed in to change notification settings - Fork 321
Description
I've just upgraded form jQuery 3.4.1 to 3.5.1 and the glyphicon-remove is no longer shown when I select from the drop down box. I think the problem is due to the way the template is defined (see the template function on line 181).
It looks like 3.4.1 used to translate
<span class="caret" /><span class="glyphicon glyphicon-remove" />
to
<span class="caret"></span><span class="glyphicon glyphicon-remove"></span>
but 3.5.1 turns that into
<span class="caret"><span class="glyphicon glyphicon-remove"></span></span>
Since the caret class is hidden when I select from the drop down box, the remove icon is hidden as wel.
I've fixed it for now by changing
<span class="caret" /><span class="glyphicon glyphicon-remove" />
into
<span class="caret"></span><span class="glyphicon glyphicon-remove"></span>
but I was wondering if anyone else has found this problem.