From be82c4dae6110fa0c83bfd0f6256ed32139bc5fa Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 19 Dec 2020 03:02:20 +0100 Subject: [PATCH] Fix a crash --- src/ext/lib/video-data/VideoData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/lib/video-data/VideoData.js b/src/ext/lib/video-data/VideoData.js index 47e78a6..09b94a5 100644 --- a/src/ext/lib/video-data/VideoData.js +++ b/src/ext/lib/video-data/VideoData.js @@ -295,7 +295,7 @@ class VideoData { } // let's play _very_ safe - let {property, value} = style.split('!important')[0].split(':'); + let [property, value] = style.split('!important')[0].split(':'); value = value.trim(); styleObject[property] = value; }