From 4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 9 Jan 2022 18:21:40 +0100 Subject: Add spell checking with typos (#4138) * Add spell checking with typos Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558 * GitHub Actions attempt * Quiet wget * Makefile --- p/scripts/global_view.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'p/scripts/global_view.js') diff --git a/p/scripts/global_view.js b/p/scripts/global_view.js index 366729485..2b57ecf9e 100644 --- a/p/scripts/global_view.js +++ b/p/scripts/global_view.js @@ -34,9 +34,9 @@ function load_panel(link) { document.getElementById('overlay').classList.add('visible'); panel.classList.add('visible'); - // force le démarrage du scroll en haut. - // Sans ça, si l’on scroll en lisant une catégorie par exemple, - // en en ouvrant une autre ensuite, on se retrouve au même point de scroll + // Force the initial scroll to the top. + // Without it, if one scrolls down in a category (for instance) + // and then open another one, we risk being at the same scroll position panel.scrollTop = 0; document.documentElement.scrollTop = 0; -- cgit v1.2.3