From 048fd41b2826a625b11707930fee0c111c2528b7 Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Wed, 15 Jan 2025 18:27:45 +0100 Subject: [PATCH] Revert "WIP" This reverts commit f6b6c8a8a9b03f10c0c876002269f2ecfcf8c7eb. --- macao/assets/custom.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macao/assets/custom.js b/macao/assets/custom.js index 5b04a58..68f94af 100644 --- a/macao/assets/custom.js +++ b/macao/assets/custom.js @@ -14,9 +14,7 @@ $(document).ready(function() { // Comment popover $('[spanid]').addClass('comment-trigger').on('click', function() { let spanid = $(this).attr('spanid'); - let comment = $("[commentaireid=" + spanid + "]"); - comment.toggle(); - + $("[commentaireid=" + spanid + "]").toggle(); }); // Simplify th in td -- GitLab