fix: submit button not enabled
This commit is contained in:
parent
b9406f006a
commit
b357ee58c4
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export function renderPost(responseText: string | null, url, postDivSelector: st
|
|||
const appUrl = document.getElementById('app-url') as HTMLInputElement;
|
||||
const homeBtn = document.querySelector<HTMLButtonElement>('#app-home');
|
||||
const backBtn = document.querySelector<HTMLButtonElement>('#app-back');
|
||||
const submitBtn = document.querySelector<HTMLButtonElement>('#app-submit');
|
||||
const submitBtn = document.querySelector<HTMLButtonElement>('#submit');
|
||||
if(cozyUrl !== '/') {
|
||||
appUrl.value = cozyUrl || '';
|
||||
backBtn?.removeAttribute('disabled');
|
||||
|
|
Loading…
Reference in a new issue