Skip to content

Commit c3c6226

Browse files
authored
Merge pull request ajayyy#2501 from mattfbacon/main
Fix ajayyy#2489
2 parents 94a7b2e + 71211c5 commit c3c6226

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ function getRealCurrentTime(): number {
20712071
const replaceSVGData = "M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z";
20722072
const replaceSVGDataNew = "M11.29 2.92C14.85 1.33 18.87 1.06 22";
20732073

2074-
if (playButtonSVGData === replaceSVGData || playButtonSVGDataNew.startsWith(replaceSVGDataNew)) {
2074+
if (playButtonSVGData === replaceSVGData || playButtonSVGDataNew?.startsWith(replaceSVGDataNew)) {
20752075
// At the end of the video
20762076
return getVideoDuration();
20772077
} else {

0 commit comments

Comments
 (0)