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);
}
function animateButton(target, buttonText) {
let button = target;
function animateButton(button, buttonText) {
button.disabled = true;
button.innerHTML = "";
let span = document.createElement("span");