Fixed custom instances plus button acting weirdly

このコミットが含まれているのは:
ManeraKai 2023-02-06 18:31:15 +03:00
コミット 7d2932bed6
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 5ABC31FFD562E337
1個のファイルの変更2行の追加3行の削除

ファイルの表示

@ -134,12 +134,11 @@ async function calcCustomInstances(frontend) {
}
async function processCustomInstances(frontend, document) {
let options = await utils.getOptions()
let customInstances = options[frontend]
calcCustomInstances(frontend)
document.getElementById(frontend).getElementsByClassName("custom-instance-form")[0].addEventListener("submit", async event => {
event.preventDefault()
let options = await utils.getOptions()
let customInstances = options[frontend]
let frontendCustomInstanceInput = document.getElementById(frontend).getElementsByClassName("custom-instance")[0]
let url
try {