From f0e9c2b4bf2145e438d94fea8db6f86073250541 Mon Sep 17 00:00:00 2001 From: Vincent Porte Date: Tue, 18 Jun 2024 16:14:46 +0200 Subject: [PATCH] fix(forum): ab test forum rating (#687) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description 🎸 correction `id` de la zone mise à jour ## Type de changement 🪲 Correction de bug (changement non cassant qui corrige un problème). ### Points d'attention 🦺 pour tester en local * http://127.0.0.1:8000/forum/conception-dun-atelier-favorisant-linsertion-professionnelle-des-publics-141/?pk_ab_test=original * http://127.0.0.1:8000/forum/conception-dun-atelier-favorisant-linsertion-professionnelle-des-publics-141/?pk_ab_test=rating_area_2 * http://127.0.0.1:8000/forum/conception-dun-atelier-favorisant-linsertion-professionnelle-des-publics-141/?pk_ab_test=rating_area_3 --- lacommunaute/templates/forum/forum_detail.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lacommunaute/templates/forum/forum_detail.html b/lacommunaute/templates/forum/forum_detail.html index 60b9d6cdc..78094e4d2 100644 --- a/lacommunaute/templates/forum/forum_detail.html +++ b/lacommunaute/templates/forum/forum_detail.html @@ -198,14 +198,14 @@

{{ forum.name }}

{ name: 'rating_area_2', // you can also use '13' (ID of the variation) to hide the name activate: function(event) { - $("#rating_area2").removeClass("d-none") - $("#rating_area1").addClass("d-none") + $("#rating-area2").removeClass("d-none") + $("#rating-area1").addClass("d-none") } }, { name: 'rating_area_3', // you can also use '14' (ID of the variation) to hide the name activate: function(event) { - $("#rating_area3").removeClass("d-none") - $("#rating_area1").addClass("d-none") + $("#rating-area3").removeClass("d-none") + $("#rating-area1").addClass("d-none") } } ],