Skip to content

Commit

Permalink
Remove counter productive code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Oct 9, 2016
1 parent 0b402cc commit bd3dfc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/componentFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ module.exports = function(element) {
if (element.attr('class')) {
classes = classes.concat(element.attr('class').split(' '));
}
var centerAttr = element.attr('align') ? 'align="center"' : '';
return format('<table %s class="%s"%s><tr><td><table><tr>%s</tr></table></td></tr></table>', attrs, classes.join(' '), centerAttr, inner);
return format('<table %s class="%s"><tr><td><table><tr>%s</tr></table></td></tr></table>', attrs, classes.join(' '), inner);

// <item>
case this.components.menuItem:
Expand Down

0 comments on commit bd3dfc8

Please sign in to comment.