1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 10:45:46 +01:00

Fix :ha >$filename for the nth time.

This commit is contained in:
Kris Maglione
2013-09-29 14:51:20 -07:00
parent b0ce802384
commit 2e2947b703
2 changed files with 4 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ var DOM = Class("DOM", {
for (let i = 0; i < this.length; i++) {
let tmp = fn.call(self || update(obj, [this[i]]), this[i], i);
if (isObject(tmp) && "length" in tmp)
if (isObject(tmp) && !(tmp instanceof Ci.nsIDOMNode) && "length" in tmp)
for (let j = 0; j < tmp.length; j++)
res[res.length++] = tmp[j];
else if (tmp != null)