Skip to content

Commit

Permalink
Indention fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
olibu authored and lapo-luchini committed Jan 31, 2024
1 parent 1d7f90b commit 429f752
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ document.getElementById('btnCopyString').onclick = function (event) {
let result = ASN1.decode(window.derBuffer.subarray(pos, end));
let type = result.typeName();
switch (type) {
case 'SET':
case 'SEQUENCE':
alert('Selected value is not a String!');
break;
default:
navigator.clipboard.writeText(result.content());
case 'SET':
case 'SEQUENCE':
alert('Selected value is not a String!');
break;
default:
navigator.clipboard.writeText(result.content());
}
contextMenu.style.visibility = 'hidden';
event.stopPropagation();
Expand Down

0 comments on commit 429f752

Please sign in to comment.