From 7fb857e670fef31b565ee340ef93313401b4e3f7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 15:10:09 +0200 Subject: [PATCH] image: avoid type error --- src/client/widgets/frames/image.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/widgets/frames/image.js b/src/client/widgets/frames/image.js index 86a4fb1f..c5c65885 100644 --- a/src/client/widgets/frames/image.js +++ b/src/client/widgets/frames/image.js @@ -55,6 +55,8 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) { setValue(v, options={}) { + if (typeof this.value !== 'string') return + var s = v==null ? '' : '' + v, cache_query = ''