From 9dd309469cf5fb8a4f260130ef88c88b53ea6ee8 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 20 Apr 2013 16:49:34 +0400 Subject: [PATCH] fix typo in getFontSize --- lib/ace/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/editor.js b/lib/ace/editor.js index aaacbf46..049f63d8 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -344,8 +344,8 @@ var Editor = function(renderer, session) { * Gets the current font size of the editor text. */ this.getFontSize = function () { - return this.setOption("fontSize") || - dom.computedStyle(ace.container, "fontSize") + return this.getOption("fontSize") || + dom.computedStyle(this.container, "fontSize"); }; /**