mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
fixed mixin call matching for multi-selector parent...
This commit is contained in:
@@ -172,7 +172,7 @@ tree.Ruleset.prototype = {
|
||||
if (match = selector.match(rule.selectors[j])) {
|
||||
if (selector.elements.length > rule.selectors[j].elements.length) {
|
||||
Array.prototype.push.apply(rules, rule.find(
|
||||
new(tree.Selector)(selector.elements.slice(1)), self));
|
||||
new(tree.Selector)(selector.elements.slice(rule.selectors[j].elements.length)), self));
|
||||
} else {
|
||||
rules.push(rule);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user