FIX: form wrapper loaded class

This commit is contained in:
Tony Air 2023-11-22 04:08:58 +02:00
parent 683b80093d
commit ee5558e6ee
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react",
"version": "5.1.9",
"version": "5.2.0",
"description": "This UI Kit allows you to build Bootstrap 5 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",
"author": "Tony Air <tony@twma.pro>",
"license": "BSD-2-Clause",

View File

@ -19,6 +19,8 @@ const submitForm = (e) => {
})
data.append('ajax', '1')
form.parentElement.classList.remove('loaded')
form.parentElement.classList.add('loading')
fetch(form.action, {