mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-16 23:08:44 +00:00
Fix image source
This commit is contained in:
@@ -355,7 +355,7 @@ class ImageWidget extends WidgetType {
|
|||||||
img.src = this.url;
|
img.src = this.url;
|
||||||
|
|
||||||
img.onerror = ()=>{
|
img.onerror = ()=>{
|
||||||
img.src = 'client/icons/broken-image.jpg';
|
img.src = '/client/icons/broken-image.jpg';
|
||||||
};
|
};
|
||||||
|
|
||||||
return img;
|
return img;
|
||||||
|
|||||||
Reference in New Issue
Block a user