Skip to content

Commit

Permalink
use appendChild instead of append
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Apr 23, 2018
1 parent 9287142 commit 028dade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/universal-dapp-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address

if (self.udapp.removable_instances) {
var close = yo`<div class="${css.udappClose}" onclick=${remove}><i class="${css.closeIcon} fa fa-close" aria-hidden="true"></i></div>`
instance.append(close)
instance.appendChild(close)
}

function toggleClass () {
Expand Down

0 comments on commit 028dade

Please sign in to comment.