aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-05 12:27:45 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-05 12:27:45 +1000
commit6ff26ab72ec507698f43e86fd59188a3a3fbee54 (patch)
tree92c553f7100f6b12719ad144a0371e5be136f701 /src/tol.ts
parentf7c43e02cadbca0546655187bd75eba274a481b7 (diff)
Make image copyright/link info retrieved upon info-modal open
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts12
1 files changed, 2 insertions, 10 deletions
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;
}
}