Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
d8b20876
Commit
d8b20876
authored
Oct 06, 2015
by
d11e9
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove a tag from caveat
parent
4ec2a828
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
universal-dapp.js
libs/universal-dapp.js
+1
-1
universal-dapp.css
stylesheets/universal-dapp.css
+2
-1
No files found.
libs/universal-dapp.js
View file @
d8b20876
...
@@ -202,7 +202,7 @@ UniversalDApp.prototype.getCallButton = function(args) {
...
@@ -202,7 +202,7 @@ UniversalDApp.prototype.getCallButton = function(args) {
var
getGasUsedOutput
=
function
(
result
)
{
var
getGasUsedOutput
=
function
(
result
)
{
var
$gasUsed
=
$
(
'<div class="gasUsed">'
)
var
$gasUsed
=
$
(
'<div class="gasUsed">'
)
var
caveat
=
lookupOnly
?
'<em>(<
a href="#" title="Cost only applies when called by a contract">caveat</a
>)</em>'
:
''
;
var
caveat
=
lookupOnly
?
'<em>(<
span class="caveat" title="Cost only applies when called by a contract">caveat</span
>)</em>'
:
''
;
if
(
result
.
gasUsed
)
{
if
(
result
.
gasUsed
)
{
var
gas
=
result
.
gasUsed
.
toString
(
10
)
var
gas
=
result
.
gasUsed
.
toString
(
10
)
$gasUsed
.
html
(
'<strong>Cost:</strong> '
+
gas
+
' gas. '
+
caveat
)
$gasUsed
.
html
(
'<strong>Cost:</strong> '
+
gas
+
' gas. '
+
caveat
)
...
...
stylesheets/universal-dapp.css
View file @
d8b20876
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
overflow
:
auto
;
overflow
:
auto
;
}
}
.udapp
a
{
.udapp
a
,
.udapp
.caveat
{
color
:
#7A7AE2
;
color
:
#7A7AE2
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment