Fix instance prefill not working
Closes https://codeberg.org/kytta/toot/issues/15
This commit is contained in:
parent
91805c200a
commit
74090c9ec7
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ function onFormSubmit(form) {
|
|||
return true;
|
||||
}
|
||||
|
||||
const prefillInstance = getRecentInstances()[0];
|
||||
let prefillInstance = getRecentInstances()[0];
|
||||
|
||||
const URLParams = window.location.search.substr(1).split("&");
|
||||
for (let i = 0; i < URLParams.length; i++) {
|
||||
|
|
Reference in a new issue