diff --git a/src/universal-dapp.js b/src/universal-dapp.js index cfe516c537..f63ba9f7db 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -149,12 +149,12 @@ UniversalDApp.prototype.getABIInputForm = function (cb) { UniversalDApp.prototype.getCreateInterface = function ($container, contract) { var self = this; var $createInterface = $('
'); - if (this.options.removable) { + if (self.options.removable) { var $close = $('
'); $close.click(function () { self.$el.remove(); }); $createInterface.append($close); } - var $newButton = this.getInstanceInterface(contract); + var $newButton = self.getInstanceInterface(contract); var $atButton = $('