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);
|
xhr.send(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
function animateButton(target, buttonText) {
|
function animateButton(button, buttonText) {
|
||||||
let button = target;
|
|
||||||
button.disabled = true;
|
button.disabled = true;
|
||||||
button.innerHTML = "";
|
button.innerHTML = "";
|
||||||
let span = document.createElement("span");
|
let span = document.createElement("span");
|
||||||
|
|
Loading…
Reference in a new issue