gmw-submit error
-
In file plugins\geo-my-wp\assets\js\gmw.js there is a small error that prevents the submit button to work properly:
//when click on an HTML submit button submit the form
$(‘.gmw-submit’).click(function(e) {
console.log(e.target)
var target = $( event.target );
if ( !target.is( “input” ) ) {
$(this).closest(‘form’).submit();
}
});please change event.target to e.target to fix this (in line 60).
Thanks
Marian
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘gmw-submit error’ is closed to new replies.