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

Commit 3040fd2

Browse files
Robert Messerlejelbourn
authored andcommitted
fix(select): removes usage of element.scope()
closes #6033 Closes #6228
1 parent a4ea9de commit 3040fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/select/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdTheming, $mdAria, $compile, $par
417417
selectContainer = angular.element(
418418
element[0].querySelector('.md-select-menu-container')
419419
);
420-
selectScope = selectContainer.scope();
420+
selectScope = scope;
421421
if (element.attr('md-container-class')) {
422422
var value = selectContainer[0].getAttribute('class') + ' ' + element.attr('md-container-class');
423423
selectContainer[0].setAttribute('class', value);

0 commit comments

Comments
 (0)