Skip to content

Commit

Permalink
Merge pull request #423 from genuino2/patch-1
Browse files Browse the repository at this point in the history
Update table layout / fix a bug
  • Loading branch information
darkchaz committed Nov 11, 2013
2 parents 3ae3485 + a11eab3 commit 51a9a38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion simpleCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,9 @@
TR = isTable ? "tr" : "div",
TH = isTable ? 'th' : 'div',
TD = isTable ? 'td' : 'div',
THEAD = isTable ? 'thead' : 'div',
cart_container = simpleCart.$create(TABLE),
thead_container = simpleCart.$create(THEAD),
header_container = simpleCart.$create(TR).addClass('headerRow'),
container = simpleCart.$(selector),
column,
Expand All @@ -636,7 +638,9 @@

container.html(' ').append(cart_container);

cart_container.append(header_container);
cart_container.append(thead_container);

thead_container.append(header_container);


// create header
Expand Down

0 comments on commit 51a9a38

Please sign in to comment.