Merge pull request #1815 from oyejorge/patch-5

Correct arguments for tree.Element
This commit is contained in:
Luke Page
2014-01-21 04:11:20 -08:00

View File

@@ -405,7 +405,7 @@ tree.Ruleset.prototype = {
// it is not lost
if (sel.length > 0) {
sel[0].elements = sel[0].elements.slice(0);
sel[0].elements.push(new(tree.Element)(el.combinator, '', 0, el.index, el.currentFileInfo));
sel[0].elements.push(new(tree.Element)(el.combinator, '', el.index, el.currentFileInfo));
}
selectorsMultiplied.push(sel);
}