Style changes according to standard

pull/1/head
Alex Beregszaszi 8 years ago
parent 244bc34edd
commit f7bb50cc96
  1. 11
      src/app/ui-helper.js

@ -103,7 +103,11 @@ module.exports = {
if (data.creation === undefined && data.external === undefined && data.internal === undefined) { if (data.creation === undefined && data.external === undefined && data.internal === undefined) {
return; return;
} }
var gasToText = function (g) { return g === null ? 'unknown' : g; };
var gasToText = function (g) {
return g === null ? 'unknown' : g;
};
var text = ''; var text = '';
var fun; var fun;
if ('creation' in data) { if ('creation' in data) {
@ -156,7 +160,10 @@ module.exports = {
} }
var self = this; var self = this;
button.click(function () { self.detailsOpen[contractName] = !self.detailsOpen[contractName]; details.toggle(); }); button.click(function () {
self.detailsOpen[contractName] = !self.detailsOpen[contractName];
details.toggle();
});
if (this.detailsOpen[contractName]) { if (this.detailsOpen[contractName]) {
details.show(); details.show();
} }

Loading…
Cancel
Save