This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bootstrap): remove anchor tag in choices
Resolves issue where page was reloaded when clicking on choice as it was nested in an anchor tag. Switches to using a span tag instead.
- Loading branch information
1 parent
176182e
commit b15189d
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<div ng-show="$select.isGrouped" class="ui-select-choices-group-label dropdown-header" ng-bind="$group.name"></div> | ||
<div ng-attr-id="ui-select-choices-row-{{ $select.generatedId }}-{{$index}}" class="ui-select-choices-row" | ||
ng-class="{active: $select.isActive(this), disabled: $select.isDisabled(this)}" role="option"> | ||
<a href="" class="ui-select-choices-row-inner"></a> | ||
<span class="ui-select-choices-row-inner"></span> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
user378230
Contributor
|
||
</div> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I don't see why the whole element was changed when the core issue was the
href=""
. Removing that would affect only the cursor which you're already setting in the css. From a semantic perspective these really should have remained anchors.