fix files in /submit

master
Aevann 2023-09-17 22:14:07 +03:00
parent 5559df37b4
commit 802892a2e1
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ function postToast(t, url, data, extraActionsOnSuccess, extraActionsOnFailure) {
function handle_disabled(t) {
btn = t.parentElement.getElementsByClassName('handle_disabled')[0]
if (!btn) return
if (t.value) {
btn.disabled = false;
btn.classList.remove('disabled')