File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,8 @@ import { setupSmoothScrolling } from './smooth-scrolling.js';
8
8
import { setupHighlighting } from './highlighting.js' ;
9
9
import { isChrome , isFirefox } from './utils.js' ;
10
10
import { setupShareJwtButton } from '../share-button.js' ;
11
- import {
12
- publicKeyTextArea ,
13
- codeElements ,
11
+ import {
12
+ publicKeyTextArea ,
14
13
debuggerSection ,
15
14
extensionSection ,
16
15
ebookSection ,
@@ -27,7 +26,7 @@ function parseLocationQuery() {
27
26
const locHash = queryString . parse ( document . location . hash . substr ( 1 ) ) ;
28
27
29
28
const keys = [
30
- 'id_token' ,
29
+ 'id_token' ,
31
30
'access_token' ,
32
31
'value' ,
33
32
'token' ,
@@ -39,8 +38,8 @@ function parseLocationQuery() {
39
38
if ( token ) {
40
39
setTokenEditorValue ( token ) ;
41
40
42
- if ( locSearch . publicKey ) {
43
- publicKeyTextArea . value = locSearch . publicKey ;
41
+ if ( locSearch . publicKey || locHash . publicKey ) {
42
+ publicKeyTextArea . value = locSearch . publicKey || locHash . publicKey ;
44
43
}
45
44
46
45
debuggerSection . scrollIntoView ( true ) ;
You can’t perform that action at this time.
0 commit comments