From 327721219c891e6eb5a9f9454f76241960daaac7 Mon Sep 17 00:00:00 2001 From: audreylamy Date: Thu, 8 Dec 2022 14:28:55 +0100 Subject: [PATCH] fix link --- src/dom/Rating.ts | 1 + src/http/SensCritique.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dom/Rating.ts b/src/dom/Rating.ts index 9bcdd2a..8356a28 100644 --- a/src/dom/Rating.ts +++ b/src/dom/Rating.ts @@ -48,6 +48,7 @@ export class Rating { a.setAttribute('target', '_blank') a.style.display = 'block' a.style.height = '100%' + a.style.width = '100%' const divLogo = document.createElement('div') divLogo.style.paddingLeft = '10px' diff --git a/src/http/SensCritique.ts b/src/http/SensCritique.ts index d8674ba..ed0f1d2 100644 --- a/src/http/SensCritique.ts +++ b/src/http/SensCritique.ts @@ -53,7 +53,7 @@ export default class SensCritique implements Client { (type === VideoType.MOVIE && result.product.universe === 1)) && result.product.title === search) { videoInfo = { name: result.product.title, - redirect: `${this.baseUrl}${result.product.url}/critiques`, + redirect: `${this.baseUrl}${result.product.url}`, url: `${this.baseUrl}${result.product.url}`, id: result.product.universe, type: type,