From 7cf139ddaaf8928425a2a97bc6130ea95e12e3e6 Mon Sep 17 00:00:00 2001 From: Aljaz Grilc Date: Fri, 24 May 2024 16:52:58 +0200 Subject: [PATCH] Remove a redundant comment --- service2.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/service2.js b/service2.js index d5dd8fb..3c8be87 100644 --- a/service2.js +++ b/service2.js @@ -147,8 +147,6 @@ class BesService { onScroll() { // Scroll panel is "position: absolute", we need to keep it aligned with the host element. this.scrollPanel.style.top = `${-this.hostElement.scrollTop}px` - - // Why do we need to set left to -scrollLeft? It destroys the position of highlights this.scrollPanel.style.left = `${-this.hostElement.scrollLeft}px` }