var myform = $('.myform');
window.location = 'https://www.photo.gallery/';
You would need to replace the contact
form class with your new myform
class in the HTML for the form:
This is not meant to be a public option. It won't update the form and stop the spinner, but that doesn't matter if you are redirecting the page anyway.
<form data-abide class="myform">