diff --git a/src/app.js b/src/app.js index 1031227f92..4eec5ccf0c 100644 --- a/src/app.js +++ b/src/app.js @@ -313,9 +313,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org registry.put({api: self._components.compilersArtefacts, name: 'compilersartefacts'}) // ----------------- UniversalDApp ----------------- - var udapp = new UniversalDApp({ - removable_instances: true - }) + var udapp = new UniversalDApp({}) registry.put({api: udapp, name: 'udapp'}) var udappUI = new UniversalDAppUI(udapp) diff --git a/src/universal-dapp-ui.js b/src/universal-dapp-ui.js index a900ff2cd9..92096ce2bb 100644 --- a/src/universal-dapp-ui.js +++ b/src/universal-dapp-ui.js @@ -38,10 +38,8 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address ${copyToClipboard(() => address)} ` - if (self.udapp.removable_instances) { - var close = yo`