Skip to content

Commit

Permalink
Ensure a 'sheet' can truly be empty upon startup
Browse files Browse the repository at this point in the history
  • Loading branch information
robertleeplummerjr committed Jul 8, 2014
1 parent 82d2834 commit b10ba5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 1 addition & 7 deletions examples/empty.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
</script>
</head>
<body>
<div id="sheetParent">
<table>
<tr>
<td></td>
</tr>
</table>
</div>
<div id="sheetParent"></div>
</body>
</html>
2 changes: 2 additions & 0 deletions jquery.sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -8772,6 +8772,8 @@ jQuery = jQuery || window.jQuery;

if (s.origHtml.length) {
jS.openSheet(s.origHtml);
} else {
jS.openSheet($(doc.createElement('table')));
}

jS.setBusy(false);
Expand Down

0 comments on commit b10ba5c

Please sign in to comment.