From 54909304287f3c04dcfb39660be8ead57dc95440 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 May 2023 16:48:54 +0200 Subject: Remove suppressImplicitAnyIndexErrors It's deprecated by TS --- client/src/root-helpers/video.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/root-helpers/video.ts') diff --git a/client/src/root-helpers/video.ts b/client/src/root-helpers/video.ts index 01feddbdc..9022b908b 100644 --- a/client/src/root-helpers/video.ts +++ b/client/src/root-helpers/video.ts @@ -21,7 +21,7 @@ function buildVideoOrPlaylistEmbed (options: { const wrapper = document.createElement('div') wrapper.style.position = 'relative' - wrapper.style['padding-top'] = '56.25%' + wrapper.style.paddingTop = '56.25%' iframe.style.position = 'absolute' iframe.style.inset = '0' -- cgit v1.2.3