Skip to content

Commit

Permalink
DEV minr type and change need for test framework for fixedheader
Browse files Browse the repository at this point in the history
  • Loading branch information
colin0117 committed Jun 6, 2019
1 parent 17c2f84 commit 23a0799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/option/columns.contentPadding.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="columns">
<name>columns.contentPadding</name>
<summary>Add padding to the text content used when calculating the optimal with for a table.</summary>
<summary>Add padding to the text content used when calculating the optimal width for a table.</summary>
<since>1.10</since>

<type type="string" />
Expand All @@ -24,4 +24,4 @@ $('#example').dataTable( {
]]></example>

<related type="option">autoWidth</related>
</dt-option>
</dt-option>
3 changes: 1 addition & 2 deletions test/html-loader-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@
clean: function() {
if ($) {
$('#dt-test-loader-container').remove();
$('table.fixedHeader-floating').remove();
} else {
var el = document.getElementById('dt-test-loader-container');

Expand All @@ -243,8 +242,8 @@

// FixedHeader leaves it's header, plus reset scroll
if ($) {
$('html').scrollTop(0);
$('table.fixedHeader-floating').remove();
$('html').scrollTop(0);
}

return window.dt;
Expand Down

0 comments on commit 23a0799

Please sign in to comment.