Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 3a8e496

Browse files
committed
Merge pull request #136 from angular-ui/fix-bootstrap-divider
fix(bootstrap): remove divider when control inside ngrepeat and its not ...
2 parents 881d424 + 4638204 commit 3a8e496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/choices.tpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
role="menu" aria-labelledby="dLabel"
33
ng-show="$select.items.length > 0">
44
<li class="ui-select-choices-group">
5-
<div class="divider" ng-show="$index > 0"></div>
5+
<div class="divider" ng-show="$select.isGrouped && $index > 0"></div>
66
<div ng-show="$select.isGrouped" class="ui-select-choices-group-label dropdown-header">{{$group}}</div>
77
<div class="ui-select-choices-row" ng-class="{active: $select.isActive(this)}">
88
<a href="javascript:void(0)" class="ui-select-choices-row-inner"></a>

0 commit comments

Comments
 (0)