Skip to content

Commit 676aa2c

Browse files
committed
Remove old tooltip code.
1 parent 4d9559a commit 676aa2c

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

src/dom-elements.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ export const decodedTabElement = document.getElementById('decoded-jwt');
77

88
export const editorElement = document.querySelector('#encoded-jwt .input');
99
export const decodedElement = document.querySelector('#decoded-jwt .output');
10-
export const claimsTooltipElement =
11-
document.getElementById('js-claims-tooltip');
10+
1211
export const headerElement = document.querySelector('.js-header');
1312
export const payloadElement = document.querySelector('.js-payload');
14-
export const payloadTooltipElement =
15-
document.getElementById('js-payload-tooltip');
1613

1714
export const signatureStatusElement =
1815
document.querySelector('.validation-status.js-signature');

stylus/website/codemirror.styl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@
4040
.text-line a, .CodeMirror *
4141
color #D63AFF
4242

43-
#js-payload-tooltip, #js-claims-tooltip
44-
position absolute
45-
background-color #00b9f1
46-
display none
47-
color white
48-
z-index 9999
49-
padding 0 4pt
50-
margin-left 4pt
51-
5243
.jwt-playground .output .jwt-signature
5344
.text-line a, pre
5445
color #00B9F1

views/token-editor-common.pug

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
.input.js-input
1313
#decoded-jwt.box-content
1414
.output(title='placeholder')
15-
#js-claims-tooltip placeholder
1615
.jwt-explained.jwt-header
1716
p.text-line HEADER:
1817
span ALGORITHM & TOKEN TYPE
@@ -22,7 +21,6 @@
2221
p.text-line PAYLOAD:
2322
span DATA
2423
.js-payload
25-
#js-payload-tooltip placeholder
2624

2725
.jwt-explained.jwt-signature
2826
p.text-line VERIFY SIGNATURE

0 commit comments

Comments
 (0)