Fix instance prefill not working
Closes https://codeberg.org/kytta/toot/issues/15 See: https://codeberg.org/kytta/toot/pulls/16
This commit is contained in:
commit
2b842ca027
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