Merge branch 'next' into components
This commit is contained in:
commit
c1ea98fd09
4 changed files with 13 additions and 13 deletions
|
|
@ -61,7 +61,8 @@ var m = (function app(window, undefined) {
|
|||
|
||||
for (var attrName in attrs) {
|
||||
if (attrName === classAttrName) {
|
||||
if (attrs[attrName] !== "") cell.attrs[attrName] = (cell.attrs[attrName] || "") + " " + attrs[attrName];
|
||||
var className = cell.attrs[attrName]
|
||||
cell.attrs[attrName] = (className && attrs[attrName] ? className + " " : className || "") + attrs[attrName];
|
||||
}
|
||||
else cell.attrs[attrName] = attrs[attrName]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue