Skip to content

Commit

Permalink
Adds expanded class
Browse files Browse the repository at this point in the history
  • Loading branch information
rafibomb committed Apr 21, 2016
1 parent 2b56d04 commit 6e1594c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/componentFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function(element) {
}

// If the button is expanded, it needs a <center> tag around the content
if (element.hasClass('expand')) {
if (element.hasClass('expand') || element.hasClass('expanded')) {
inner = format('<center>%s</center>', inner);
expander = '\n<td class="expander"></td>';
}
Expand Down

0 comments on commit 6e1594c

Please sign in to comment.