Skip to content

Commit 6afc4bf

Browse files
committed
Minor code aesthetic change.
1 parent 828868f commit 6afc4bf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/extension/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ function setupShareJwtButton() {
1414
copyTokenLink(value.token, value.publicKey);
1515
}
1616

17-
shareJwtTextElement.firstChild.textContent =
18-
strings.extension.jwtIoUrlCopied;
17+
const shareJwtTextNode = shareJwtTextElement.firstChild;
18+
shareJwtTextNode.textContent = strings.extension.jwtIoUrlCopied;
1919
setTimeout(() => {
20-
shareJwtTextElement.firstChild.textContent =
21-
strings.extension.shareThisJwt;
20+
shareJwtTextNode.textContent = strings.extension.shareThisJwt;
2221
}, 2000);
2322
});
2423
}

0 commit comments

Comments
 (0)