fix source attr
This commit is contained in:
parent
662cb8e25d
commit
be36f130a4
@ -82,7 +82,7 @@ class PoemLine extends HTMLDivElement {
|
||||
return resp.json();
|
||||
}).then((payload) => {
|
||||
this.querySelector(".linetext").innerText = payload.Text;
|
||||
this.querySelector(".linetext").setAttribute("data-source", payload.Source);
|
||||
this.querySelector(".linetext").setAttribute("data-source", payload.Source.Name);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user