This commit is contained in:
Sj-Si 2024-04-15 09:31:30 -04:00
parent b7a6df9460
commit 451190c7fc
3 changed files with 11 additions and 2 deletions

View file

@ -292,7 +292,8 @@ class Clusterize {
// Get the first element that isn't one of our placeholder rows.
const node = this.content_elem.querySelector(":scope > :not(.clusterize-extra-row,.clusterize-no-data)");
if (!isElementLogError(node)) {
if (!isElement(node)) {
// dont attempt to compute dims if we have no data.
return;
}