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

3
.gitignore vendored
View file

@ -4,4 +4,5 @@ __pycache__/
migrations/
venv/
db.sqlite3
localsettings.py
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"])
);