odaptos_design_system 2.0.112 → 2.0.113
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/dist/odaptos_design_system.cjs.development.js +9 -12
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +9 -12
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/Interviews/PipModerated.tsx +10 -13
|
@@ -13702,18 +13702,15 @@ display: flex;
|
|
|
13702
13702
|
disabled: disabled,
|
|
13703
13703
|
onClick: () => {
|
|
13704
13704
|
if (url) {
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
//
|
|
13709
|
-
|
|
13710
|
-
//
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
});
|
|
13715
|
-
}, 10000);
|
|
13716
|
-
}
|
|
13705
|
+
openPiP().catch(error => {
|
|
13706
|
+
console.error("Erreur lors de l'ouverture du PiP :", error);
|
|
13707
|
+
});
|
|
13708
|
+
// Petit délai pour s'assurer que la nouvelle fenêtre est bien ouverte
|
|
13709
|
+
setTimeout(() => {
|
|
13710
|
+
// Ouvrir d'abord l'URL dans un nouvel onglet
|
|
13711
|
+
const fullUrl = url.includes('https://') ? url : `https://${url}`;
|
|
13712
|
+
window.open(fullUrl, '_blank');
|
|
13713
|
+
}, 10000);
|
|
13717
13714
|
}
|
|
13718
13715
|
}
|
|
13719
13716
|
});
|