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 2 years ago
parent c88cfa74bb
commit 683b500121
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

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

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

Loading…
Cancel
Save