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

Commit b97ace1

Browse files
committed
Replaces hash for 'javascript:;' in href
To prevent the hash to reload the page
1 parent 36ee169 commit b97ace1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/select2/match-multiple.tpl.html

+2-2
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>
12-
</span>
12+
</span>

0 commit comments

Comments
 (0)