diff --git a/package.json b/package.json index 300fd0f..e516b38 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "BSD-2-Clause", diff --git a/src/js/ajax/form.js b/src/js/ajax/form.js index bef1955..cb3919f 100644 --- a/src/js/ajax/form.js +++ b/src/js/ajax/form.js @@ -19,6 +19,8 @@ const submitForm = (e) => { }) data.append('ajax', '1') + + form.parentElement.classList.remove('loaded') form.parentElement.classList.add('loading') fetch(form.action, {