From 18f6d1ee0b550f2dd7d71b2852743e57a4660a28 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 14 Apr 2022 08:50:34 -0600 Subject: [PATCH] Et2Image: Fix "TypeError: this._imageTemplate is not a function" I'm not sure how that happened. Autocorrect? --- api/js/etemplate/Et2Image/Et2Image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Image/Et2Image.ts b/api/js/etemplate/Et2Image/Et2Image.ts index 654b881950..1cb58245ce 100644 --- a/api/js/etemplate/Et2Image/Et2Image.ts +++ b/api/js/etemplate/Et2Image/Et2Image.ts @@ -111,7 +111,7 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID this._handleClick = this._handleClick.bind(this); } - eTemplate() + _imageTemplate() { let src = this.parse_href(this.src) || this.parse_href(this.default_src); if(!src)