mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix
This commit is contained in:
@@ -769,6 +769,9 @@ const select_arguments = (state, with_focus = true) => {
|
||||
}
|
||||
|
||||
const navigate_logs_increment = (state, increment) => {
|
||||
if(state.logs.logs.length == 0) {
|
||||
return {state}
|
||||
}
|
||||
const index =
|
||||
Math.max(
|
||||
Math.min(
|
||||
|
||||
@@ -73,7 +73,7 @@ export class Logs {
|
||||
}
|
||||
|
||||
if(prev_logs?.log_position != logs.log_position) {
|
||||
if(prev_logs?.log_position != null) {
|
||||
if(prev_logs?.logs == logs.logs && prev_logs?.log_position != null) {
|
||||
this.el.children[prev_logs.log_position].classList.remove('active')
|
||||
}
|
||||
if(logs.log_position != null) {
|
||||
|
||||
Reference in New Issue
Block a user