Skip to content

Commit

Permalink
Merge pull request #634 from /issues/633@v2
Browse files Browse the repository at this point in the history
i-bem.bemhtml: Do not add i-bem class to elems
  • Loading branch information
tadatuta committed Aug 8, 2014
2 parents 49a5c9c + 33105d7 commit a592d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.blocks/i-bem/i-bem.bemhtml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def()(function() {
var cls = apply('cls');
cls || (cls = ctx.cls);

var addJSInitClass = ctx.block && jsParams;
var addJSInitClass = ctx.block && jsParams && !ctx.elem;
if(isBEM || cls) {
this._str += ' class="';
if(isBEM) {
Expand Down

0 comments on commit a592d6f

Please sign in to comment.