Skip to content

Commit 370fe18

Browse files
committed
Removed stray code.
1 parent e2a9ae9 commit 370fe18

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/editor/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -341,17 +341,6 @@ function setupTabEvents() {
341341
});
342342
}
343343

344-
function copyTokenHandler(event) {
345-
event.preventDefault();
346-
347-
const token = getTrimmedValue(tokenEditor);
348-
const publicKey = isPublicKeyAlgorithm(getSelectedAlgorithm()) ?
349-
publicKeyTextArea.value :
350-
null;
351-
352-
copyTokenLink(token, publicKey);
353-
}
354-
355344
function setupEvents() {
356345
// The event manager lets us enable/disable events as needed without
357346
// manually tracking them. Events that need to be disabled should be
@@ -382,8 +371,6 @@ function setupEvents() {
382371

383372
// Human readable timestamp tooltips
384373
payloadElement.addEventListener('mousemove', timeTooltipHandler);
385-
// Temporary (share button not ready yet)
386-
signatureStatusElement.addEventListener('click', copyTokenHandler);
387374

388375
setupTabEvents();
389376
}

0 commit comments

Comments
 (0)