ffuertes

Submit MCFX

Sep 16th, 2021
832
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.     if (MCFX !== 'undefined') {
  3.         var formsubmits = document.querySelectorAll('input.form-submit');
  4.         formsubmits.forEach(function(sub){
  5.             sub.addEventListener('click', function(e){
  6.                 MCFX.Form.submit(e.target.form);
  7.             });
  8.         });
  9.     }
  10. </script>
RAW Paste Data