remotes/1693045480750635534/spooky-22
Aevann1 2021-09-26 11:56:25 +02:00
parent adc4e25f2f
commit 2591834c40
1 changed files with 6 additions and 6 deletions

View File

@ -10,14 +10,14 @@
<script>
document.ready(function() {
document.addEventListener("DOMContentLoaded", function(){
document.getElementById('submitform').submit(function() {
// disable button
document.getElementById('create_button').prop("disabled", true);
// add spinner to button
document.getElementById('create_button').html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Creating post');
});
// disable button
document.getElementById('create_button').prop("disabled", true);
// add spinner to button
document.getElementById('create_button').html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Creating post');
});
});
// Text Formatting