mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
ignore border when sizing table
This commit is contained in:
parent
f83db3648e
commit
1c7cc4cb2b
|
@ -680,7 +680,8 @@ function fmt_table(e) {
|
|||
for (var col = 0; col < ncols; col++) {
|
||||
var max = 0;
|
||||
for (var row = 0; row < tab.length; row++)
|
||||
max = Math.max(max, tab[row][col].length);
|
||||
if (row != 1)
|
||||
max = Math.max(max, tab[row][col].length);
|
||||
|
||||
var s = '';
|
||||
for (var n = 0; n < max; n++)
|
||||
|
|
Loading…
Reference in a new issue