diff --git a/src/app/components/shared/view-comment-data/view-comment-data.component.ts b/src/app/components/shared/view-comment-data/view-comment-data.component.ts index c3b2018cc0574f85079ec6b9ada47f47fe1c79f0..c0aa27c30fd0c6d698aaee9e86d507c8a391af8e 100644 --- a/src/app/components/shared/view-comment-data/view-comment-data.component.ts +++ b/src/app/components/shared/view-comment-data/view-comment-data.component.ts @@ -223,7 +223,6 @@ export class ViewCommentDataComponent implements OnInit, AfterViewInit { recalcAspectRatio() { const elem = this.isEditor ? this.editor.editorElem.firstElementChild : this.quillView.editorElem.firstElementChild; elem.querySelectorAll('.images .ql-video').forEach((e: HTMLElement) => { - e.addEventListener('resize', () => console.log(e)); const width = parseFloat(window.getComputedStyle(e).width); e.style.height = (width * 9 / 16) + 'px'; });