diff --git a/libs/universal-dapp.js b/libs/universal-dapp.js index 2b59e6c753..eab94d5b01 100644 --- a/libs/universal-dapp.js +++ b/libs/universal-dapp.js @@ -119,7 +119,8 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar $close.click( function(){ $instance.remove(); } ) $instance.append( $close ); } - var $title = $('').text( contract.name + " at " + (self.options.vm ? '0x' : '') + address.toString('hex') ); + var context = self.options.vm ? 'memory' : 'blockchain'; + var $title = $('').text( contract.name + " at " + (self.options.vm ? '0x' : '') + address.toString('hex') + ' (' + context + ')'); $title.click(function(){ $instance.toggleClass('hide'); });