diff --git a/integrations/nextcloud/snappymail/js/snappymail.js b/integrations/nextcloud/snappymail/js/snappymail.js index cb41930f3..e35697e65 100644 --- a/integrations/nextcloud/snappymail/js/snappymail.js +++ b/integrations/nextcloud/snappymail/js/snappymail.js @@ -22,9 +22,9 @@ document.addEventListener('DOMContentLoaded', () => { // Pass nextcloud themes and theme attributes to SnappyMail. function passThemes() { const iframe = document.getElementById('rliframe'); - if (!iframe) return; + if (!iframe) return; - const target = iframe.contentWindow.document; + const target = iframe.contentWindow.document; const ncStylesheets = [...document.querySelectorAll('link.theme')]; ncStylesheets.forEach(ncSheet => {