Skip to content

Commit 2bb69e3

Browse files
authored
Merge pull request jsonwebtoken#404 from panva/fix-351
fix: first populate input, then verify signatures
2 parents f29ef73 + 4e5946c commit 2bb69e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/website/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ function parseLocationQuery() {
3939
if (token) {
4040
metrics.track("token-in-url", { type: key });
4141

42-
setTokenEditorValue(token);
43-
4442
if (locSearch.publicKey || locHash.publicKey) {
4543
metrics.track("pubkey-in-url");
4644
publicKeyTextArea.value = locSearch.publicKey || locHash.publicKey;
4745
}
4846

47+
setTokenEditorValue(token);
48+
4949
debuggerSection.scrollIntoView(true);
5050

5151
break;

0 commit comments

Comments
 (0)