Commit 03caa281 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Udapp: make buttons consistent

parent d344b4b8
......@@ -616,10 +616,17 @@ UniversalDApp.prototype.getCallButton = function (args) {
})
}
var title
if (isConstructor) {
title = 'Create'
} else {
title = args.abi.name
}
var button = $('<button />')
.addClass('call')
.attr('title', args.abi.name)
.text(args.bytecode ? 'Create' : args.abi.name)
.attr('title', title)
.text(title)
.click(handleCallButtonClick)
if (lookupOnly && !inputs.length) {
......
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