Remove 'success' message from statusbox

master
Tait Hoyem 3 years ago
parent 3110041fbb
commit dc5756d39b

@ -37,7 +37,6 @@ XHR.addEventListener( 'load', function( event ) {
resp = JSON.parse(event.target.response);
if (resp.status === 'OK') {
STATUS_BOX.style.color = 'white';
STATUS_BOX.innerText = 'Success! Please check your inbox.';
SUBMIT_BUTTON.value = 'Success!';
} else {
STATUS_BOX.innerText = 'Error: ' + resp.message;

@ -23,7 +23,7 @@
{{ form.email }}
</p>
<div id="statusbox" aria-live="polite" aria-atomic="true"></div>
<input type="submit" value="Submit">
<input type="submit" value="Submit" aria-live="polite" aria-atomic="true">
</form>
<script src="{% static 'download/js/download.js' %}" defer></script>
{% endblock %}

Loading…
Cancel
Save