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
console.log('GridStack.on('+name+') event not supported');
1142
+
console.error('GridStack.on('+name+') event not supported');
1143
1143
}
1144
1144
returnthis;
1145
1145
}
@@ -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.log(`Error: 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() '${GridStack.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);return;}
0 commit comments