From b7ebe96541715ae364fd2a7228b75bf73b097aa5 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 30 Jun 2025 02:13:25 +0200 Subject: [PATCH] luci-mod-status: add .blur() action for kernel log scroll buttons follow-up to f458c39c74fb97b0b97bae73572d4abbe169115b Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/view/status/dmesg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/dmesg.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/dmesg.js index 9050d1cb12..82e8bba6a1 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/dmesg.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/dmesg.js @@ -135,7 +135,7 @@ return view.extend({ ); scrollDownButton.addEventListener('click', () => { scrollUpButton.scrollIntoView(); - scrollUpButton.blur(); + scrollDownButton.blur(); }); const scrollUpButton = E('button', { @@ -145,7 +145,7 @@ return view.extend({ ); scrollUpButton.addEventListener('click', () => { scrollDownButton.scrollIntoView(); - scrollDownButton.blur(); + scrollUpButton.blur(); }); const self = this; -- 2.30.2