Skip to content

Commit

Permalink
Fixed #14534
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jan 17, 2024
1 parent dad2b7b commit 9afb82c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/components/galleria/galleria.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import { VoidListener } from 'primeng/ts-helpers';
import { UniqueComponentId, ZIndexUtils } from 'primeng/utils';
import { GalleriaResponsiveOptions } from './galleria.interface';
import { FocusTrapModule } from 'primeng/focustrap';
import { platformBrowser } from '@angular/platform-browser';
/**
* Galleria is an advanced content gallery component.
* @group Components
Expand Down Expand Up @@ -1026,7 +1025,7 @@ export class GalleriaThumbnails implements OnInit, AfterContentChecked, AfterVie
}

ngAfterViewInit() {
if (platformBrowser(this.platformId)) {
if (isPlatformBrowser(this.platformId)) {
this.calculatePosition();
}
}
Expand Down

0 comments on commit 9afb82c

Please sign in to comment.