diff --git a/src/universal-dapp.js b/src/universal-dapp.js index 21208d13a0..4767cd405f 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -347,6 +347,7 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar var createInterface = yo`
` var appendFunctions = function (address, $el) { + if ($el) $el = $el.get(0) var $instance = $(``) if (self.options.removable_instances) { var close = yo``