update responsive ios vers.

This commit is contained in:
2026-05-17 20:59:02 +02:00
parent f0ab8eff41
commit d880520882
3 changed files with 27 additions and 8 deletions
+4
View File
@@ -363,6 +363,10 @@ document.addEventListener('DOMContentLoaded', () => {
const isElectron = navigator.userAgent.toLowerCase().includes('electron');
const isCapacitor = window.Capacitor !== undefined; // Détecte l'application mobile native
if (isCapacitor) {
document.body.classList.add('is-mobile-app');
}
if (isMobile || isElectron || isCapacitor) {
const iframes = document.querySelectorAll('iframe');
iframes.forEach(iframe => {