Skip to content

Commit

Permalink
fix(list): update variable name
Browse files Browse the repository at this point in the history
_listElements in MDCList was renamed to listElements
  • Loading branch information
jgroth authored and adrianschmidt committed Sep 10, 2019
1 parent 217ccb6 commit b524a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/list/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class List {
// adapter and foundation classes for MDCList
// that works with the shadow DOM
this.mdcList.foundation_.adapter_.getFocusedElementIndex = () => {
return this.mdcList.listElements_.indexOf(
return this.mdcList.listElements.indexOf(
this.element.shadowRoot.activeElement
);
};
Expand Down

0 comments on commit b524a25

Please sign in to comment.