Skip to content

Commit

Permalink
fix #428
Browse files Browse the repository at this point in the history
  • Loading branch information
igoradamenko committed Feb 25, 2016
1 parent 3a946a2 commit c4a4cf4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/filter/bem.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ define(function(require, exports, module) {
result.push(prefix + separators.modifier + modifier);
}

item.__bem.block = block;
if (!item.__bem.block) {
item.__bem.block = block;
}

item.__bem.element = element;
item.__bem.modifier = modifier;

Expand Down Expand Up @@ -259,4 +262,4 @@ define(function(require, exports, module) {

return tree;
};
});
});

0 comments on commit c4a4cf4

Please sign in to comment.