diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-12-19 13:10:44 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-12-19 13:10:44 +0300 |
commit | 37a9216769d14a488487e25b1ac4d9cace80e953 (patch) | |
tree | 110c637496ee649e0e77897c1f1fd849c35e6957 /js | |
parent | d33cae71fab43e8fd5b1285c6a40f43f45d30a2f (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.js | 6 |
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); |