Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
126ee801
Commit
126ee801
authored
Mar 31, 2021
by
Akash Negi
Browse files
Added Tooltip to clear console icon.
parent
9cd64d77
Changes
1
Hide whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/index.html
View file @
126ee801
...
...
@@ -105,7 +105,7 @@
</label>
</div>
</div>
<i
class=
'fa fa-trash ml-3 text-primary'
style=
'cursor:pointer'
id=
'clear'
></i>
<i
class=
'fa fa-trash ml-3 text-primary'
style=
'cursor:pointer'
id=
'clear'
data-toggle=
"tooltip"
title=
"Clear Console"
></i>
</div>
<div
class=
"collapse show"
id=
"console_bottom"
>
...
...
@@ -504,7 +504,7 @@
//Clear Console
document
.
getElementById
(
"
clear
"
).
addEventListener
(
"
click
"
,()
=>
{
document
.
getElementById
(
'
p1
'
).
innerHTML
=
'
<p>Console Cleared</p>
'
;
document
.
getElementById
(
'
p1
'
).
innerHTML
=
''
;
})
</script>
...
...
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