Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 241bbc4

Browse files
pr4v33nkara
authored andcommitted
fix(list): add rel to copied attributes for md-list-item buttons #10351 (#10352)
1 parent 2015ae8 commit 241bbc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/list/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ function mdListItemDirective($mdAria, $mdConstant, $mdUtil, $timeout) {
406406
function copyAttributes(source, destination, extraAttrs) {
407407
var copiedAttrs = $mdUtil.prefixer([
408408
'ng-if', 'ng-click', 'ng-dblclick', 'aria-label', 'ng-disabled', 'ui-sref',
409-
'href', 'ng-href', 'target', 'ng-attr-ui-sref', 'ui-sref-opts'
409+
'href', 'ng-href', 'rel', 'target', 'ng-attr-ui-sref', 'ui-sref-opts'
410410
]);
411411

412412
if (extraAttrs) {

0 commit comments

Comments
 (0)