diff options
author | Tom Needham <tom@owncloud.com> | 2015-06-01 16:53:56 +0300 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2015-06-01 16:53:56 +0300 |
commit | fd386e85a06a501b9d09f1969383bf336e4b18dd (patch) | |
tree | 70e2d3c5e41813d2e90633486543e193b1b08388 /js | |
parent | a4827175ae19635316e6694b76631047bb1925ff (diff) |
Fix scrolling of editor
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor.js b/js/editor.js index 6d00412..af0ad9a 100644 --- a/js/editor.js +++ b/js/editor.js @@ -248,7 +248,7 @@ var Files_Texteditor = { container.html( '<div id="editor_overlay"></div>' +'<div id="editor_container" class="icon-loading">' - +'<div id="editor"></div></div>'); + +'<div id="editor_wrap"><div id="editor"></div></div></div>'); $('#app-content').append(container); // Get the file data @@ -287,7 +287,7 @@ var Files_Texteditor = { +'</small>' +'<button id="editor_close" class="icon-close svg"></button>'; var controlBar = $('<div id="editor_controls"></div>').html(html); - $('#'+this.editor).before(controlBar); + $('#editor_wrap').before(controlBar); this.bindControlBar(); }, |