Fix argument to animateButton

This commit is contained in:
Preston Doman 2019-03-06 23:26:55 -08:00
parent 84210d6dac
commit ec148d870d

View file

@ -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");