diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/gui-common/log.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gui-common/log.js b/scripts/gui-common/log.js index e5f2bbf..bc93546 100644 --- a/scripts/gui-common/log.js +++ b/scripts/gui-common/log.js @@ -5,7 +5,7 @@ const LOG_EL = document.getElementsByTagName("log")[0]; let LAST_LOG_TYPE = ""; function at_bot(el) { - return el.scrollTop >= (el.scrollHeight - el.clientHeight) + return (el.scrollTop + 10) >= (el.scrollHeight - el.clientHeight) } function addLogEntry(object) { |