Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DariaUshaeva/cae2f9de34eb812b491c717c8fc63e3e to your computer and use it in GitHub Desktop.
Save DariaUshaeva/cae2f9de34eb812b491c717c8fc63e3e to your computer and use it in GitHub Desktop.
diff --git a/js/core/src/core/Tygh/core_methods.js b/js/core/src/core/Tygh/core_methods.js
index 0c3151a..2f424a7 100644
--- a/js/core/src/core/Tygh/core_methods.js
+++ b/js/core/src/core/Tygh/core_methods.js
@@ -2116,6 +2116,7 @@ export const submitForm = function(jelm){
_btn.removeClass('cm-submit');
_btn.removeClass('cm-confirm');
_btn.click();
+ _btn.data('original_element').data('clicked', false);
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment