Skip to content

Commit ef52e27

Browse files
author
Will Bamberg
committed
Fix indentation
1 parent 7f7bc65 commit ef52e27

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

web-crypto/unwrap-key/pkcs8.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -203,25 +203,25 @@
203203
signatureValue.textContent = `${buffer}...[${signature.byteLength} bytes total]`;
204204
}
205205

206-
/*
207-
Hide and disable the sign button if key unwrapping failed.
208-
*/
209-
function resetSignButton() {
210-
signButton.setAttribute("disabled", true);
211-
signButton.classList.add("hidden");
212-
}
206+
/*
207+
Hide and disable the sign button if key unwrapping failed.
208+
*/
209+
function resetSignButton() {
210+
signButton.setAttribute("disabled", true);
211+
signButton.classList.add("hidden");
212+
}
213213

214-
/*
215-
Show and enable the sign button if key unwrapping succeeded.
216-
*/
217-
function enableSignButton() {
218-
signButton.classList.add('fade-in');
219-
signButton.addEventListener('animationend', () => {
220-
signButton.classList.remove('fade-in');
221-
});
222-
signButton.removeAttribute("disabled");
223-
signButton.classList.remove("hidden");
224-
}
214+
/*
215+
Show and enable the sign button if key unwrapping succeeded.
216+
*/
217+
function enableSignButton() {
218+
signButton.classList.add('fade-in');
219+
signButton.addEventListener('animationend', () => {
220+
signButton.classList.remove('fade-in');
221+
});
222+
signButton.removeAttribute("disabled");
223+
signButton.classList.remove("hidden");
224+
}
225225

226226
/*
227227
When the user clicks "Unwrap Key"

0 commit comments

Comments
 (0)