diff options
| author | hallgren <hallgren@chalmers.se> | 2012-02-24 15:16:37 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-02-24 15:16:37 +0000 |
| commit | f81e1586f5a2ceab7ada93950b2d84b175377822 (patch) | |
| tree | 4e3e3d47395ed4991d62cc3adaea8e3f2360e214 /src/www/gfse/editor.js | |
| parent | 667ca8e5f7988d69393ce31058072eb8868445ae (diff) | |
gfse: text mode tweaks
Diffstat (limited to 'src/www/gfse/editor.js')
| -rw-r--r-- | src/www/gfse/editor.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/www/gfse/editor.js b/src/www/gfse/editor.js index 03cef9dec..64b44e36c 100644 --- a/src/www/gfse/editor.js +++ b/src/www/gfse/editor.js @@ -536,6 +536,7 @@ function text_mode(g,file,ix) { var mode_button=div_class("right",[button("Guided mode",switch_to_guided_mode)]) clear(file) appendChildren(file,[mode_button,ta]) + ta.style.height=ta.scrollHeight+"px"; ta.focus(); } var mode_button=div_class("right",[button("Text mode",switch_to_text_mode)]) |
