What is the auto-scroll function for the logs? #301
Locked
LordRalex
announced in
Legacy - Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
zacharee wrote at Jun 28 2016 14:08:34 UTC:
I'm creating my own page, using the provided API, to be able to see all server logs and control the servers from the same place. It's mostly just a project for fun. Currently, I have a JS function causing the log divs to scroll every 500ms or so and it works alright, but it hogs resources and causes huge delays when sending commands or power commands.
I've noticed that on PufferPanel, the log only scrolls to the bottom when something new comes in. Since I'm terrible at looking through code, I thought I'd ask here. What's the code that only scrolls to the bottom when something happens? Will I be able to use it, or is it something that would take too much work?
Beta Was this translation helpful? Give feedback.
All reactions