Button 2: add jquery to deps array (#5158)

This commit is contained in:
Tony Arcangelini 2021-12-10 09:13:46 -06:00 committed by GitHub
parent ae215fe89d
commit dc64faee42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,7 +191,7 @@ function button_2_scripts() {
wp_enqueue_style( 'button-2-blocks', get_template_directory_uri() . '/blocks.css' );
wp_enqueue_script( 'button-2-scripts', get_template_directory_uri() . '/assets/js/main.js', array(), '20170303', true );
wp_enqueue_script( 'button-2-scripts', get_template_directory_uri() . '/assets/js/main.js', array( 'jquery' ), '20211207', true );
wp_enqueue_script( 'button-2-navigation', get_template_directory_uri() . '/assets/js/navigation.js', array(), '20151215', true );