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/ venv/
db.sqlite3 db.sqlite3
localsettings.py localsettings.py
uwsgi.local.sh

View file

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