.empty().append() instead on .html()

pull/1/head
d11e9 9 years ago
parent d8b20876d7
commit fd6ceee6bf
  1. 2
      libs/universal-dapp.js

@ -229,7 +229,7 @@ UniversalDApp.prototype.getCallButton = function(args) {
var $result = getOutput( $('<a class="waiting" href="#" title="Waiting for transaction to be mined.">Polling for tx receipt...</a>') ); var $result = getOutput( $('<a class="waiting" href="#" title="Waiting for transaction to be mined.">Polling for tx receipt...</a>') );
if (lookupOnly && !inputs.length) { if (lookupOnly && !inputs.length) {
$outputOverride.html( $result ); $outputOverride.empty().append( $result );
} else { } else {
outputSpan.append( $result ); outputSpan.append( $result );
} }

Loading…
Cancel
Save