From 6ff26ab72ec507698f43e86fd59188a3a3fbee54 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Thu, 5 May 2022 12:27:45 +1000 Subject: Make image copyright/link info retrieved upon info-modal open --- src/tol.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/tol.ts') diff --git a/src/tol.ts b/src/tol.ts index 77c401e..073f848 100644 --- a/src/tol.ts +++ b/src/tol.ts @@ -10,20 +10,12 @@ export class TolNode { parent: string | null; tips: number; pSupport: boolean; - img: null | { - filename: string, - eolId: string, - sourceUrl: string, - license: string, - copyrightOwner: string - }; - desc: null | [string, boolean]; + imgName: null | string; constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ this.children = children; this.parent = parent; this.tips = tips; this.pSupport = pSupport; - this.img = null; - this.desc = null; + this.imgName = null; } } -- cgit v1.2.3