From 7723fb2eada8c08b3d823b92d6d2a18010e0e18b Mon Sep 17 00:00:00 2001 From: JimMatthew Date: Sun, 10 Aug 2025 22:33:06 -0500 Subject: [PATCH] luci-app-unbound: Stat Scroll Behavior Don't scroll to bottom of text area for stats on every poll. Signed-off-by: JimMatthew --- .../htdocs/luci-static/resources/view/unbound/status.js | 1 - 1 file changed, 1 deletion(-) diff --git a/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js b/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js index 84efced65e..49e1a47e7d 100644 --- a/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js +++ b/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js @@ -44,7 +44,6 @@ return view.extend({ return L.resolveDefault(fs.exec_direct('/usr/sbin/unbound-control', ['-c', '/var/lib/unbound/unbound.conf', 'stats_noreset'])).then(function(res) { const stats = document.getElementById("stats"); stats.value = res ? res.trim() : _('No stats yet!'); - stats.scrollTop = stats.scrollHeight; }); }); // Local Data -- 2.30.2