We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9310021 commit b0656edCopy full SHA for b0656ed
packages/unity-bootstrap-theme/src/js/card-bodies.js
@@ -12,6 +12,7 @@ function initCardBodies() {
12
const cardBodies = document.querySelectorAll('.card-body');
13
14
// If there are no cardBodies and you have not yet exceeded 3 retries
15
+ let retryCount = 0;
16
if (cardBodies.length === 0 && retryCount < 3) {
17
setTimeout(() => initCardBodies(retryCount + 1), 500);
18
return;
0 commit comments