Javascript version bump
authorLaury GvR <laury@gaslightmedia.com>
Fri, 14 Jul 2017 15:43:07 +0000 (11:43 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 14 Jul 2017 15:43:07 +0000 (11:43 -0400)
functions.php

index 57b804c..3b8a0a7 100755 (executable)
@@ -440,13 +440,13 @@ function twentyseventeen_scripts() {
        );
 
        if ( has_nav_menu( 'top' ) ) {
-               wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array(), '1.0', true );
+               wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array(), '1.1', true );
                $twentyseventeen_l10n['expand']         = __( 'Expand child menu', 'twentyseventeen' );
                $twentyseventeen_l10n['collapse']       = __( 'Collapse child menu', 'twentyseventeen' );
                $twentyseventeen_l10n['icon']           = twentyseventeen_get_svg( array( 'icon' => 'angle-down', 'fallback' => true ) );
        }
 
-       wp_enqueue_script( 'twentyseventeen-global', get_theme_file_uri( '/assets/js/global.js' ), array( 'jquery' ), '1.0', true );
+       wp_enqueue_script( 'twentyseventeen-global', get_theme_file_uri( '/assets/js/global.js' ), array( 'jquery' ), '1.1', true );
 
        wp_enqueue_script( 'jquery-scrollto', get_theme_file_uri( '/assets/js/jquery.scrollTo.js' ), array( 'jquery' ), '2.1.2', true );