Finished resize implementation for iframe

This commit is contained in:
2025-07-05 16:53:25 +02:00
parent b8aad8b695
commit f0d4206731
2 changed files with 81 additions and 60 deletions

View File

@@ -58,6 +58,9 @@ function exitFullscreen() {
if (typeof updateCustomScrollbar === 'function') {
try { updateCustomScrollbar(); } catch (e) { console.warn('updateCustomScrollbar failed:', e); }
}
if (typeof syncIframeHeight === 'function') {
try { syncIframeHeight(); } catch (e) { console.warn('syncIframeHeight failed:', e); }
}
// Remove URL parameter
const url = new URL(window.location);
url.searchParams.delete('fullscreen');