Skip to content
Commit 1164d276 authored by Miguel Angel Mulero Martinez's avatar Miguel Angel Mulero Martinez Committed by Paul Donald
Browse files

luci-mod-status: fix syslog / dmesg scroll for some themes



The actual code moves the scroll in the window. This works for the bootstrap theme, because the scroll is at window level. But this does not work for other themes, like material.

This commit changes the move of the scroll by "focusing" the window in the opposite button element in the syslog / dmesg page. In this way the move is automatically done by the browser.

Another solution is to "search" in the parent until we find the scroll and move it, but seems less solid.

Signed-off-by: default avatarMiguel Angel Mulero Martinez <migmul@gmail.com>
parent b69bce07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment