Home › Forums › Support › Delay on hover over menu item › Reply To: Delay on hover over menu item
April 13, 2015 at 9:45 am
#98288
Tom
Lead Developer
Lead Developer
Hi Patrick,
The delay is handled by the hoverintent script – it’s currently set to 500ms.
To remove the delay, you can add this function:
add_action( 'wp_print_scripts', 'generate_dequeue_scripts', 100 );
function generate_dequeue_scripts() {
wp_dequeue_script( 'hoverIntent' );
}
http://generatepress.com/knowledgebase/adding-php-functions/
Hope this helps 🙂