Skip to content

Commit

Permalink
Merge e13db42 into 73edabd
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyZhang777 committed Mar 4, 2024
2 parents 73edabd + e13db42 commit 2e54d9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/theme-map/Renderer/ElementRenderTarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ class ElementRenderTarget extends RenderTarget {

/**
* async render(data) => DOMNode
* Calls templateFunction(data) and sets value to element.innerHTML, then returns element
* Calls templateFunction(data) and sets value to element.textContnet, then returns element
*/
async render(data) {
if (this._element) {
this._element.innerHTML = this._templateFunction(data);
this._element.textContnet = this._templateFunction(data);
}

return this._element;
Expand Down

0 comments on commit 2e54d9a

Please sign in to comment.