mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
change comment position
This commit is contained in:
parent
2a535c7c60
commit
deda967d95
1 changed files with 2 additions and 2 deletions
|
|
@ -34,10 +34,10 @@ impl Memory {
|
|||
}
|
||||
}
|
||||
|
||||
// prevent duplicates at the last history position
|
||||
// e.g. on page reload with `follow_to_index` enabled
|
||||
match index.last() {
|
||||
Some(last) => {
|
||||
// prevent duplicates at the last history position
|
||||
// e.g. on page reload with `follow_to_index` enabled
|
||||
if *last != value {
|
||||
index.push(value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue