Fix img tag creation in Inspirations

This commit is contained in:
Kumi 2021-11-13 08:01:03 +01:00
parent 2053d8029b
commit 7fb857baa0
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ migrations/
venv/
db.sqlite3
localsettings.py
uwsgi.local.sh

View file

@ -73,7 +73,7 @@
var imagecover = $("<div>")
.addClass("widget-image-cover");
imagecover.append($("img")
imagecover.append($("<img>")
.attr("src", value["image"])
.attr("alt", value["title"])
);