You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gridstack.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1381,7 +1381,7 @@ export class GridStack {
1381
1381
}else{
1382
1382
// NOTE: clientHeight & getBoundingClientRect() is undefined for text and other leaf nodes. use <div> container!
1383
1383
constchild=item.firstElementChild;
1384
-
if(!child){console.error(`Error: GridStack.resizeToContent() '${GridStack.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);return;}
1384
+
if(!child){console.error(`Error: GridStack.resizeToContent() widget id:${n.id}'${GridStack.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);return;}
0 commit comments