From f178a24c052c4e28506be528205d84555ada13fb Mon Sep 17 00:00:00 2001 From: saqimtiaz Date: Tue, 6 May 2025 17:25:46 +0200 Subject: [PATCH] fix: typo --- core/modules/widgets/image.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/widgets/image.js b/core/modules/widgets/image.js index 96882ebde..6ec0d4c85 100644 --- a/core/modules/widgets/image.js +++ b/core/modules/widgets/image.js @@ -133,7 +133,7 @@ ImageWidget.prototype.render = function(parent,nextSibling) { //this might be an excellent place to collect DOM node properties TODO: //variables["dom-properties"] = $tw.utils.copyObjectPropertiesSafe(domNode); self.invokeActionString(self.loadedActions,self,event,variables); - } + } },false); domNode.addEventListener("error",function() { $tw.utils.removeClass(domNode,"tc-image-loading"); @@ -158,6 +158,7 @@ ImageWidget.prototype.execute = function() { this.imageAlt = this.getAttribute("alt"); this.lazyLoading = this.getAttribute("loading"); this.loadedActions = this.getAttribute("loadActions"); +}; /* Selectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering