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(){