thrimbletrimmer: Fix some typos in the new error handling

pull/116/head
Mike Lang 5 years ago
parent da3cc24ed1
commit 7dea1f0cdb

@ -137,7 +137,7 @@ thrimbletrimmerSubmit = function(state) {
alert(error);
document.getElementById('SubmitButton').disabled = false;
} else {
setTimeout(() => window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
setTimeout(() => { window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
}
}));
};
@ -184,7 +184,7 @@ thrimbletrimmerManualLink = function() {
document.getElementById("ManualButton").disabled = false;
} else {
alert("Manual link set to " + body.link);
setTimeout(() => window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
setTimeout(() => { window.location.href = '/thrimbletrimmer/dashboard.html'; }, 500);
}
}));
};
@ -221,7 +221,7 @@ thrimbletrimmerResetLink = function() {
document.getElementById("ResetButton").disabled = false;
} else {
alert("Row has been reset. Reloading...");
setTimeout(() => window.location.reload(); }, 500);
setTimeout(() => { window.location.reload(); }, 500);
}
}));
};

Loading…
Cancel
Save