mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-02 05:43:39 -08:00
clean up
This commit is contained in:
parent
b7a6df9460
commit
451190c7fc
3 changed files with 11 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue