Fix img tag creation in Inspirations
This commit is contained in:
parent
2053d8029b
commit
7fb857baa0
2 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,4 +4,5 @@ __pycache__/
|
|||
migrations/
|
||||
venv/
|
||||
db.sqlite3
|
||||
localsettings.py
|
||||
localsettings.py
|
||||
uwsgi.local.sh
|
||||
|
|
|
@ -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"])
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue