Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

remove-comments

Aswin Asok2dbb87f34378
diff --git a/web/packages/gallery/components/viewer/photoswipe-core.ts b/web/packages/gallery/components/viewer/photoswipe-core.ts
index f5fc87a6ae..68d3e57290 100644
--- a/web/packages/gallery/components/viewer/photoswipe-core.ts
+++ b/web/packages/gallery/components/viewer/photoswipe-core.ts
@@ -201,7 +201,6 @@ export class FileViewerPhotoSwipe<
const i = newIndex;
pswp.goTo(i);
- // Rebind the annotation to the refreshed destination slide.
_currentAnnotatedFile = undefined;
pswp.refreshSlideContent(i);
pswp.refreshSlideContent(i == 0 ? newFileCount - 1 : i - 1);