fix typo in getFontSize
This commit is contained in:
parent
076eeb8cab
commit
9dd309469c
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue