Skip to content

Commit a2daad9

Browse files
committed
Removed unecessary check
1 parent df92433 commit a2daad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/domParsers/domUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ export module DomUtils {
348348
*/
349349
export function addEmbeddedVideosWhereSupported(previewElement: HTMLElement, pageContent: string, pageUrl: string): Promise<EmbeddedVideoIFrameSrcs[]> {
350350
let supportedDomain = VideoUtils.videoDomainIfSupported(pageUrl);
351-
if (!supportedDomain || !addVideosToElement) {
351+
if (!supportedDomain) {
352352
return Promise.resolve();
353353
}
354354

0 commit comments

Comments
 (0)