Fix argument to animateButton
This commit is contained in:
parent
84210d6dac
commit
ec148d870d
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ function makeAjaxRequest(method, url, callback, optional, payload) {
|
|||
xhr.send(payload);
|
||||
}
|
||||
|
||||
function animateButton(target, buttonText) {
|
||||
let button = target;
|
||||
function animateButton(button, buttonText) {
|
||||
button.disabled = true;
|
||||
button.innerHTML = "";
|
||||
let span = document.createElement("span");
|
||||
|
|
Loading…
Reference in a new issue