diff --git a/Iceshrimp.Frontend/Components/AttachmentView.razor b/Iceshrimp.Frontend/Components/AttachmentView.razor index 6dad1177..f6289358 100644 --- a/Iceshrimp.Frontend/Components/AttachmentView.razor +++ b/Iceshrimp.Frontend/Components/AttachmentView.razor @@ -61,7 +61,7 @@ private async Task Next() { - if (Focused >= _refs.Count) + if (Focused >= _refs.Count -1) { return; }