Commit 14a1621d authored by Enrique Alcantara's avatar Enrique Alcantara Committed by jerasmus

Fix prettier linter issues

parent bba2f40c
...@@ -5,7 +5,9 @@ import { getURLOrigin } from '~/lib/utils/url_utility'; ...@@ -5,7 +5,9 @@ import { getURLOrigin } from '~/lib/utils/url_utility';
const isVideoFrame = html => { const isVideoFrame = html => {
const parser = new DOMParser(); const parser = new DOMParser();
const doc = parser.parseFromString(html, 'text/html'); const doc = parser.parseFromString(html, 'text/html');
const { children: { length } } = doc; const {
children: { length },
} = doc;
const iframe = doc.querySelector('iframe'); const iframe = doc.querySelector('iframe');
const origin = iframe && getURLOrigin(iframe.getAttribute('src')); const origin = iframe && getURLOrigin(iframe.getAttribute('src'));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment