fix formatting

This commit is contained in:
Rene Hampölz 2022-11-05 15:27:24 +00:00
parent ad8da7dce0
commit 2f8203abda

View file

@ -22,9 +22,9 @@ document.addEventListener('DOMContentLoaded', () => {
// Pass nextcloud themes and theme attributes to SnappyMail. // Pass nextcloud themes and theme attributes to SnappyMail.
function passThemes() { function passThemes() {
const iframe = document.getElementById('rliframe'); 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')]; const ncStylesheets = [...document.querySelectorAll('link.theme')];
ncStylesheets.forEach(ncSheet => { ncStylesheets.forEach(ncSheet => {