Permalink
Browse files

Use _.toArray to make IE8 happy

  • Loading branch information...
Emily Stark
Emily Stark committed Jun 22, 2014
1 parent 7b1cdda commit 69455d4df7f66fd600bc353a8b112fce40c8e93e
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/ui/dombackend.js
@@ -38,7 +38,7 @@ if (Meteor.isClient) {
};
DomBackend.tearDownElement = function (elem) {
- var elems = Array.prototype.slice.call(elem.getElementsByTagName('*'));
+ var elems = _.toArray(elem.getElementsByTagName('*'));
elems.push(elem);
$jq.cleanData(elems);
};

0 comments on commit 69455d4

Please sign in to comment.