use appendChild instead of append

pull/1/head
yann300 7 years ago
parent 92871429b2
commit 028dade4b8
  1. 2
      src/universal-dapp-ui.js

@ -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 () {

Loading…
Cancel
Save