From f94e442469deca30b39f3fa08aade83cbd0ede70 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 16 Dec 2011 13:38:59 -0500 Subject: [PATCH] Add more classes and options to HTML elements for better styleability --- program/js/editor.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/program/js/editor.js b/program/js/editor.js index 9ad50ce..5e08671 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -66,6 +66,9 @@ var elem = rcube_find_object('_from'), fe = rcmail.env.compose_focus_elem; + if (rcmail.env.default_font) + $(tinyMCE.get(rcmail.env.composebody).getBody()).css('font-family', rcmail.env.default_font); + if (elem && elem.type == 'select-one') { rcmail.change_identity(elem); // Focus previously focused element -- Gitblit v1.9.1