master
Aevann1 2021-07-21 13:06:56 +02:00
parent 8c23383bc1
commit 309f7ef9ce
1 changed files with 4 additions and 4 deletions

View File

@ -4,12 +4,12 @@
<head>
<script>
$(document).ready(function() {
$('#submitform').submit(function() {
(document).ready(function() {
('#submitform').submit(function() {
// disable button
$("#create_button").prop("disabled", true);
("#create_button").prop("disabled", true);
// add spinner to button
$("#create_button").html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Creating post');
("#create_button").html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Creating post');
});
});