This commit is contained in:
Baoshuo Ren 2023-02-13 15:29:33 +08:00
parent 2787028069
commit 14a2ab6f20
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -524,17 +524,14 @@ $.fn.long_table = function(data, cur_page, header_row, get_row_str, config) {
} }
$(table_div).append( $(table_div).append(
typeof config.print_before_table === 'function' ? config.print_before_table() : '' $('<div class="' + div_classes.join(' ') + '" />')
).append( .append(typeof config.print_before_table === 'function' ? config.print_before_table() : '')
$('<div class="' + div_classes.join(' ') + '" />').append( .append(
$('<table class="' + table_classes.join(' ') + '" />').append( $('<table class="' + table_classes.join(' ') + '" />')
$('<thead />').append(header_row) .append($('<thead />').append(header_row))
).append( .append(tbody)
tbody )
) .append(typeof config.print_after_table === 'function' ? config.print_after_table() : '')
).append(
typeof config.print_after_table === 'function' ? config.print_after_table() : ''
)
); );
var get_page_li = function(p, h) { var get_page_li = function(p, h) {