From 8b330b75a46fff71ae3fdd093e99e8f2fc2d13b8 Mon Sep 17 00:00:00 2001 From: Awais Date: Mon, 24 Jun 2024 07:43:07 +0500 Subject: [PATCH] Update default font size to in jQuery initialization (#1200) --- tinyfilemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 93b7209b..bbac02b2 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -4189,7 +4189,7 @@ function renderThemeMode() { if(_data && _data.fontSize) { $fontSizeEl.html(optionNode("", _data.fontSize)); } $modeEl.val( editor.getSession().$modeId ); $themeEl.val( editor.getTheme() ); - $fontSizeEl.val(12).change(); //set default font size in drop down + $(function() { $fontSizeEl.val(12).change(); }); //set default font size in drop down } $(function(){