We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da8b70d commit c7071b8Copy full SHA for c7071b8
services/static-webserver/client/source/class/osparc/utils/Utils.js
@@ -156,7 +156,11 @@ qx.Class.define("osparc.utils.Utils", {
156
source = imgSrc;
157
}
158
})
159
- .finally(() => image.setSource(source));
+ .finally(() => {
160
+ if (image.getContentElement() && imgSrc) { // check if the image is still there
161
+ image.setSource(source);
162
+ }
163
+ });
164
},
165
166
addWhiteSpaces: function(integer) {
0 commit comments