Introduction
Introduction Statistics Contact Development Disclaimer Help
datatable: use style table-row-group, more portable - jscancer - Javascript cra…
git clone git://git.codemadness.org/jscancer
Log
Files
Refs
README
LICENSE
---
commit 118c93a8de2037ab3ec38e1bf17c6a3fc00cb01b
parent d5d0f00c5141d8df1bcdb7d659a7ee553d3c6ec4
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 17 Aug 2017 19:07:02 +0200
datatable: use style table-row-group, more portable
Diffstat:
M datatable/datatable.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/datatable/datatable.js b/datatable/datatable.js
@@ -123,7 +123,7 @@ function datatable_init(el) {
for (var i = 0; i < data.length; i++)
tbody.appendChild(data[i].tr);
d.table.replaceChild(tbody, d.tbody);
- tbody.hidden = !data.length;
+ tbody.style.display = data.length ? "table-row-group" …
d.tbody = tbody;
};
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.