From 2557abc0078bf165fb583d52f6f083505f04dab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 22 May 2023 18:27:08 +0200 Subject: [PATCH] js: hide consecutive pushes (#77793) --- public/local.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/public/local.js b/public/local.js index c2b9522..740f9f3 100644 --- a/public/local.js +++ b/public/local.js @@ -10,5 +10,23 @@ approve_button.textContent = approve_button.textContent + " (still WIP)"; } } + + // hide consecutive pushes + const pull_comments = document.querySelectorAll('.pull .comment-list .timeline-item') + var previous_forced_push = null; + for (var i=0; i