mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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() {
|
match index.last() {
|
||||||
Some(last) => {
|
Some(last) => {
|
||||||
|
// prevent duplicates at the last history position
|
||||||
|
// e.g. on page reload with `follow_to_index` enabled
|
||||||
if *last != value {
|
if *last != value {
|
||||||
index.push(value);
|
index.push(value);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue