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';
88import { setupHighlighting } from './highlighting.js' ;
99import { isChrome , isFirefox } from './utils.js' ;
1010import { setupShareJwtButton } from '../share-button.js' ;
11- import {
12- publicKeyTextArea ,
13- codeElements ,
11+ import {
12+ publicKeyTextArea ,
1413 debuggerSection ,
1514 extensionSection ,
1615 ebookSection ,
@@ -27,7 +26,7 @@ function parseLocationQuery() {
2726 const locHash = queryString . parse ( document . location . hash . substr ( 1 ) ) ;
2827
2928 const keys = [
30- 'id_token' ,
29+ 'id_token' ,
3130 'access_token' ,
3231 'value' ,
3332 'token' ,
@@ -39,8 +38,8 @@ function parseLocationQuery() {
3938 if ( token ) {
4039 setTokenEditorValue ( token ) ;
4140
42- if ( locSearch . publicKey ) {
43- publicKeyTextArea . value = locSearch . publicKey ;
41+ if ( locSearch . publicKey || locHash . publicKey ) {
42+ publicKeyTextArea . value = locSearch . publicKey || locHash . publicKey ;
4443 }
4544
4645 debuggerSection . scrollIntoView ( true ) ;
You can’t perform that action at this time.
0 commit comments