Conflict with Gravity Forms
-
Hi all,
We’ve got a conflict with this plugin and Gravity Forms, which we use for our competition and contact forms.
When a user submits the form entry, normally an ajax spinning wheel appears while the form is submitting and this only takes a second or two at most, but with the BJ Lazy Load plugin running this wheel stays on screen for over 30 seconds – the entry still submits but the user is left thinking the page has crashed – not good.
Is their a way to deregsiter the plugin from loading on our competition posts? I’ve tried the following but it’s not working…
add_action( 'wp_print_scripts', 'my_deregister_lazyload', 100 ); function my_deregister_lazyload() { if ( is_category('wedding-competitions') ) { wp_deregister_script( 'BJLL' ); wp_deregister_script('jquery.sonar'); } }
Thanks,
James
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Conflict with Gravity Forms’ is closed to new replies.