Skip to content

Commit

Permalink
Fix a/b test removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Jun 12, 2024
1 parent 6e15fee commit e47769e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thumbnails/thumbnailRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ function resetToShowOriginalThumbnail(image: HTMLImageElement, brandingLocation:

function removeAbThumbnail(image: HTMLImageElement): void {
if (image.src?.includes?.("_custom_")) {
image.src = image.src.replace(/_custom_\d+/, "");
image.src = image.src.replace(/_custom_\d+/, "").replace(/\?.+/, "");
}
}

Expand Down

0 comments on commit e47769e

Please sign in to comment.