From 7ea88d20f30e2f8d3aac506ebf373f1b204b2d8e Mon Sep 17 00:00:00 2001 From: Luca Orio Date: Wed, 1 Jun 2022 15:00:16 -0700 Subject: [PATCH] fixed initialization of array --- src/img-gallery-renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/img-gallery-renderer.ts b/src/img-gallery-renderer.ts index 3d68daf..67acd15 100644 --- a/src/img-gallery-renderer.ts +++ b/src/img-gallery-renderer.ts @@ -4,7 +4,7 @@ import ImgGallery from './main' export class imgGalleryRenderer extends MarkdownRenderChild { private _gallery: HTMLElement = null private _settings: {[key: string]: any} = {} - private _imagesList: string[] = null + private _imagesList: string[] = [] constructor( public plugin: ImgGallery,