cleanup
ci/woodpecker/pr/woodpecker Pipeline was successful Details
ci/woodpecker/push/woodpecker Pipeline was successful Details

- remove X icon placeholder
- remove weird unicode whitespace
- delete comment out code
pull/72/head
OFF0 1 year ago
parent c88cfa74bb
commit 683b500121
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -102,7 +102,7 @@
<!-- views are inserted here -->
</main>
<nav>
<a href="/"><span>X</span>feed</a>
<a href="/"><!--<span>X</span>-->feed</a>
<button tpye="button" name="settings">settings</button>
</nav>
</div>

@ -174,17 +174,14 @@ privateTgl.addEventListener('click', () => {
privateKeyInput.type = privateKeyInput.type === 'text' ? 'password' : 'text';
});
privateKeyInput.value = localStorage.getItem('private_key') || '';
pubKeyInput.value = localStorage.getItem('pub_key') || '';
privateKeyInput.value = localStorage.getItem('private_key') || '';
pubKeyInput.value = localStorage.getItem('pub_key') || '';
// profile
const profileForm = document.querySelector('form[name="profile"]') as HTMLFormElement;
const profileSubmit = profileForm.querySelector('button[type="submit"]') as HTMLButtonElement;
const profileStatus = document.querySelector('#profilestatus') as HTMLElement;
// const onProfileError = err => {
// profileStatus.hidden = false;
// profileStatus.textContent = err.message
// };
profileForm.addEventListener('input', (e) => {
if (e.target instanceof HTMLElement) {
if (e.target?.nodeName === 'TEXTAREA') {

Loading…
Cancel
Save