Skip to content

Commit

Permalink
trying trying trying
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhamverma2796 committed Feb 2, 2022
1 parent f669c26 commit e1f8bfa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/media_source/com_joomlaupdate/js/default.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Joomla = window.Joomla || {};
const allowedSize = uploadForm.max_upload_size.value;
if (fileSize <= allowedSize && updateCheck.disabled) {
updateCheck.disabled = !updateCheck.disabled;
}
}
else if (fileSize <= allowedSize && !updateCheck.disabled && !updateCheck.checked) {
updateCheck.disabled = false;
}
Expand All @@ -76,9 +76,9 @@ Joomla = window.Joomla || {};
updateCheck.disabled = !updateCheck.disabled;
updateCheck.checked = false;
uploadButton.disabled = true;
}
});
}
}
});
}
// Trigger (re-) install (including checkbox confirm if we update)
if (installButton && installButton.getAttribute('href') === '#' && task) {
installButton.addEventListener('click', (e) => {
Expand Down

0 comments on commit e1f8bfa

Please sign in to comment.