From 373b1eb64500de84f56d2194b3467f58fe760ce3 Mon Sep 17 00:00:00 2001 From: mattpass Date: Sun, 20 Sep 2020 09:01:08 +0100 Subject: [PATCH] Fix updating font size in file manager --- assets/js/icecoder.js | 2 +- files.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index c9a08ef..00250d1 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -3705,7 +3705,7 @@ var ICEcoder = { thisCSS[strCSS][0].style['fontSize'] = settings.fontSize; // Update font size in file manager - thisCSS = this.filesFrame.contentWindow.document.styleSheets[3]; + thisCSS = this.filesFrame.contentWindow.document.styleSheets[4]; strCSS = thisCSS.rules ? 'rules' : 'cssRules'; thisCSS[strCSS][0].style['fontSize'] = settings.fontSize; diff --git a/files.php b/files.php index 3a7b777..caf3a7c 100644 --- a/files.php +++ b/files.php @@ -13,7 +13,7 @@ $t = $text['files']; - +