Fix img tag creation in Inspirations
This commit is contained in:
parent
2053d8029b
commit
7fb857baa0
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ migrations/
|
|||
venv/
|
||||
db.sqlite3
|
||||
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