<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // disable direct access
}

add_action( 'wp_enqueue_scripts', 'jet_menu_generatepress_scripts', 0 );

/**
 * Enqueue generatepress compatibility script
 *
 * @return void
 */
function jet_menu_generatepress_scripts() {

	wp_enqueue_script(
		'jet-menu-generatepress',
		jet_menu()->integration_manager->get_theme_url( 'assets/js/script.js' ),
		array( 'jquery' ),
		jet_menu()->get_version(),
		true
	);

}
