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

Commit 64dc9af

Browse files
committed
fix(select2): prevent changing url when clicking remove in multiple mode
1 parent 36ee169 commit 64dc9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select2/match-multiple.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<li class="ui-select-match-item select2-search-choice" ng-repeat="$item in $select.selected"
88
ng-class="{'select2-search-choice-focus':$select.activeMatchIndex === $index}">
99
<span uis-transclude-append></span>
10-
<a href="#" class="ui-select-match-close select2-search-choice-close" ng-click="$select.removeChoice($index)" tabindex="-1"></a>
10+
<a href="javascript:;" class="ui-select-match-close select2-search-choice-close" ng-click="$select.removeChoice($index)" tabindex="-1"></a>
1111
</li>
1212
</span>

0 commit comments

Comments
 (0)