Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2015-06-01 16:53:56 +0300
committerTom Needham <tom@owncloud.com>2015-06-01 16:53:56 +0300
commitfd386e85a06a501b9d09f1969383bf336e4b18dd (patch)
tree70e2d3c5e41813d2e90633486543e193b1b08388 /js
parenta4827175ae19635316e6694b76631047bb1925ff (diff)
Fix scrolling of editor
Diffstat (limited to 'js')
-rw-r--r--js/editor.js4
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();
},