From 1d47af14ffc42e82258518a77b4543eeef2a0bac Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 27 Jun 2022 05:26:47 +0100 Subject: [PATCH] Fix build error. --- src/components/VideoPlayer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 318b7eb8..d42b33a1 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -606,7 +606,7 @@ export default { return; } - markers?.style.background = `linear-gradient(${array.join(",")})`; + if (markers) markers.style.background = `linear-gradient(${array.join(",")})`; }, destroy(hotkeys) { if (this.$ui) {