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:
authorJulius Härtl <jus@bitgrid.net>2019-12-19 13:10:44 +0300
committerJulius Härtl <jus@bitgrid.net>2019-12-19 13:10:44 +0300
commit37a9216769d14a488487e25b1ac4d9cace80e953 (patch)
tree110c637496ee649e0e77897c1f1fd849c35e6957 /js
parentd33cae71fab43e8fd5b1285c6a40f43f45d30a2f (diff)
Adjust element id to avoid conflicts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js')
-rw-r--r--js/editor.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/editor.js b/js/editor.js
index ad34f05..59b6073 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -15,7 +15,7 @@ export const Texteditor = {
/**
* Holds the editor element ID
*/
- editor: 'editor',
+ editor: 'filestexteditor',
/**
* Stores info on the file being edited
@@ -198,7 +198,7 @@ export const Texteditor = {
history.pushState({
file: filename,
dir: context.dir
- }, 'Editor', '#editor');
+ }, 'Editor', '#filestexteditor');
});
},
@@ -265,7 +265,7 @@ export const Texteditor = {
container.html(
'<div id="editor_overlay"></div>'
+'<div id="editor_container" class="icon-loading">'
- +'<div id="editor_wrap"><div id="editor"></div>'
+ +'<div id="editor_wrap"><div id="filestexteditor"></div>'
+'<div id="preview_wrap"><div id="preview"></div></div></div></div>');
$('#content').append(container);