Commit d4c56051 authored by Alex Beregszaszi's avatar Alex Beregszaszi

UDapp: fix web3 event logging

parent 623b7e6a
......@@ -245,7 +245,7 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar
}
});
} else {
var eventFilter = this.web3.eth.contract(abi).at(address).allEvents();
var eventFilter = self.web3.eth.contract(abi).at(address).allEvents();
eventFilter.watch(parseLogs);
}
$instance.append($title);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment