luci-mod-status: log viewers - change focus() to scrollIntoView()
authorPaul Donald <newtwen+github@gmail.com>
Mon, 8 Jul 2024 14:34:31 +0000 (16:34 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 30 Jul 2024 17:00:56 +0000 (19:00 +0200)
commit910cf4daac5b6315269d3de33f7007dbe1a9c170
tree22dc5cb0416c141eb53e577cc698658dcad6924d
parent18f3914e1b3148cfd82fe4f6d9489f43c9576df1
luci-mod-status: log viewers - change focus() to scrollIntoView()

scrollIntoView() is more universally supported and standards tracked.

Closes #7186

Updates 9370bdddaede2feeb581193158d83f5062d5a318

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 7893f2d08aaa1a0419ede1a695a25781f60e6ba6)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/dmesg.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/syslog.js