@bebranded/bb-contents 1.0.50-beta → 1.0.51-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bb-contents.js +3 -3
- package/package.json +1 -1
package/bb-contents.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* BeBranded Contents
|
|
3
3
|
* Contenus additionnels français pour Webflow
|
|
4
|
-
* @version 1.0.
|
|
4
|
+
* @version 1.0.51-beta
|
|
5
5
|
* @author BeBranded
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @website https://www.bebranded.xyz
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
// Configuration
|
|
24
24
|
const config = {
|
|
25
|
-
version: '1.0.
|
|
25
|
+
version: '1.0.51-beta',
|
|
26
26
|
debug: false, // Debug désactivé
|
|
27
27
|
prefix: 'bb-', // utilisé pour générer les sélecteurs (data-bb-*)
|
|
28
28
|
youtubeEndpoint: null, // URL du worker YouTube (à définir par l'utilisateur)
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
// Si pas de contenu valide ou images pas chargées, réessayer (sauf si on force)
|
|
426
426
|
if ((!hasValidDimensions || !imagesLoaded) && !shouldForceInit && !shouldForceInitImages) {
|
|
427
427
|
if (retryCount < maxRetries) {
|
|
428
|
-
const delay =
|
|
428
|
+
const delay = 50 + retryCount * 50; // Délais rapides pour header
|
|
429
429
|
console.log(`[bb-contents] Marquee ${index + 1}: RETRY dans ${delay}ms (dimensions: ${hasValidDimensions}, images: ${imagesLoaded})`);
|
|
430
430
|
// Contenu/images non prêts, nouvelle tentative
|
|
431
431
|
setTimeout(() => initAnimation(retryCount + 1), delay);
|