From 5740675344eedef0de2efe0aa10f6cf59673f29a Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Sat, 25 Jun 2016 10:27:14 +0200 Subject: [PATCH] scroll listener bugfix --- .../app/gallery/grid/photo/photo.grid.gallery.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/app/gallery/grid/photo/photo.grid.gallery.component.ts b/frontend/app/gallery/grid/photo/photo.grid.gallery.component.ts index b0ec1e9..ca1053c 100644 --- a/frontend/app/gallery/grid/photo/photo.grid.gallery.component.ts +++ b/frontend/app/gallery/grid/photo/photo.grid.gallery.component.ts @@ -121,6 +121,9 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, AfterViewInit this.thumbnailService.removeTask(this.thumbnailTask); this.thumbnailTask = null; } + if (this.scrollListener) { + this.scrollListener(); + } }