From 3a7769ef47074c2a654c12afa33a440f248c3191 Mon Sep 17 00:00:00 2001 From: Julian Viereck Date: Fri, 28 Jan 2011 21:56:38 +0800 Subject: [PATCH] Fix setting fontSize style on editor --- demo/startup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/startup.js b/demo/startup.js index c56a8dc6..d0f3db5f 100644 --- a/demo/startup.js +++ b/demo/startup.js @@ -171,7 +171,7 @@ exports.launch = function(env) { }); bindDropdown("fontsize", function(value) { - document.getElementById("editor").style["font-size"] = value; + document.getElementById("editor").style.fontSize = value; }); bindDropdown("soft_wrap", function(value) {