Skip to content
Permalink
Browse files

Fix: Support for xhtml pages

  • Loading branch information...
Allan Jardine
Allan Jardine committed Jan 3, 2019
1 parent 6c5a091 commit 3520ef633060d8813e332adf176b5c8c32d436ce
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/dataTables.scroller.js
@@ -621,12 +621,12 @@ $.extend( Scroller.prototype, {
var rowsCount = $('tr', tbody).length;

if ( rowsCount === 1 ) {
tbody.prepend('<tr><td>&nbsp;</td></tr>');
tbody.append('<tr><td>&nbsp;</td></tr>');
tbody.prepend('<tr><td>&#160;</td></tr>');
tbody.append('<tr><td>&#160;</td></tr>');
}
else {
for (; rowsCount < 3; rowsCount++) {
tbody.append('<tr><td>&nbsp;</td></tr>');
tbody.append('<tr><td>&#160;</td></tr>');
}
}

0 comments on commit 3520ef6

Please sign in to comment.
You can’t perform that action at this time.