diff options
Diffstat (limited to 'web_src/js/features/repo-release.ts')
-rw-r--r-- | web_src/js/features/repo-release.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/web_src/js/features/repo-release.ts b/web_src/js/features/repo-release.ts index 7589c77136..c59ab1f323 100644 --- a/web_src/js/features/repo-release.ts +++ b/web_src/js/features/repo-release.ts @@ -1,5 +1,4 @@ import {hideElem, showElem} from '../utils/dom.ts'; -import {initComboMarkdownEditor} from './comp/ComboMarkdownEditor.ts'; export function initRepoRelease() { document.addEventListener('click', (e) => { @@ -16,7 +15,6 @@ export function initRepoReleaseNew() { if (!document.querySelector('.repository.new.release')) return; initTagNameEditor(); - initRepoReleaseEditor(); } function initTagNameEditor() { @@ -48,11 +46,3 @@ function initTagNameEditor() { hideTargetInput(e.target); }); } - -function initRepoReleaseEditor() { - const editor = document.querySelector<HTMLElement>('.repository.new.release .combo-markdown-editor'); - if (!editor) { - return; - } - initComboMarkdownEditor(editor); -} |