8000 Merge branch 'wip/list-href-target' · code-tree/material@ccb71f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ccb71f2

Browse files
committed
Merge branch 'wip/list-href-target'
2 parents a52422e + 5b299cd commit ccb71f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/list/list.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function mdListItemDirective($mdAria, $mdConstant, $mdUtil, $timeout) {
199199

200200
function copyAttributes(item, wrapper) {
201201
var copiedAttrs = ['ng-if', 'ng-click', 'aria-label', 'ng-disabled',
202-
'ui-sref', 'href', 'ng-href', 'ng-attr-ui-sref', 'ui-sref-opts'];
202+
'ui-sref', 'href', 'ng-href', 'target', 'ng-attr-ui-sref', 'ui-sref-opts'];
203203

204204
angular.forEach(copiedAttrs, function(attr) {
205205
if (item.hasAttribute(attr)) {
@@ -343,4 +343,3 @@ function MdListController($scope, $element, $mdListInkRipple) {
343343
$mdListInkRipple.attach(scope, element, options);
344344
}
345345
}
346-

0 commit comments

Comments
 (0)
0