Skip to content

Instantly share code, notes, and snippets.

View karlschwaier's full-sized avatar

Karl Schwaier karlschwaier

View GitHub Profile
@fabrizim
fabrizim / gravity-ajax-fix.js
Created October 14, 2015 23:37
Gravity Forms: Prevent duplicate form submission on back button
jQuery(function($){
$(document).on('gform_post_render', function(e, form_id){
$('#gform_ajax_frame_'+form_id).attr('src', 'about:blank');
});
});