diff --git a/common.blocks/i-bem-dom/i-bem-dom.js b/common.blocks/i-bem-dom/i-bem-dom.js index f7942ce07..e429f765f 100644 --- a/common.blocks/i-bem-dom/i-bem-dom.js +++ b/common.blocks/i-bem-dom/i-bem-dom.js @@ -699,10 +699,12 @@ var BemDomEntity = inherit(/** @lends BemDomEntity.prototype */{ /** @override */ _extractModVal : function(modName) { var domNode = this.domElem[0], + className = domNode.localName === 'svg'? domNode.className.baseVal : + domNode.className, matches; domNode && - (matches = domNode.className + (matches = className .match(this.__self._buildModValRE(modName))); return matches? matches[2] || true : '';