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

Commit

Permalink
fix(select): IE down arrow key error resolved
Browse files Browse the repository at this point in the history
Fixes #2109.
  • Loading branch information
ThomasBurleson committed Jun 24, 2015
1 parent fb7b9b3 commit c183e9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ angular.module('material.core')

// Annoying method to copy nodes to an array, thanks to IE
nodesToArray: function (nodes) {
nodes = nodes || [ ];

var results = [];
for (var i = 0; i < nodes.length; ++i) {
results.push(nodes.item(i));
Expand Down

0 comments on commit c183e9b

Please sign in to comment.