From 02a24ea25c0c4f9e209eebebaf5698e0c87e5c09 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Wed, 25 Sep 2024 22:33:02 +0800 Subject: [PATCH] Grammar --- paginator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paginator.js b/paginator.js index f236876..e00d1a3 100644 --- a/paginator.js +++ b/paginator.js @@ -67,7 +67,7 @@ const filter = SHOW_ELEMENT | SHOW_TEXT | SHOW_CDATA_SECTION // needed cause there seems to be a bug in `getBoundingClientRect()` in Firefox // where it fails to include rects that have zero width and non-zero height // (CSSOM spec says "rectangles [...] of which the height or width is not zero") -// which makes the visible range to include an extra space at column boundaries +// which makes the visible range include an extra space at column boundaries const getBoundingClientRect = target => { let top = Infinity, right = -Infinity, left = Infinity, bottom = -Infinity for (const rect of target.getClientRects()) {