From 73794efeddf9eed2c36e297df1088295184e4156 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 9 Jun 2016 00:53:50 +0100 Subject: [PATCH] UDapp: use 'self' more consistently to avoid typos --- src/universal-dapp.js | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) 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 = $('