mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use _.toArray to make IE8 happy
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user