diff options
Diffstat (limited to 'plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php')
-rw-r--r-- | plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php b/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php index fadd678c..cd702872 100644 --- a/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php +++ b/plugins/jetpack/modules/minileven/theme/pub/minileven/functions.php @@ -1,4 +1,7 @@ <?php + +use Automattic\Jetpack\Assets; + /** * Minileven functions and definitions * @@ -78,10 +81,9 @@ function minileven_scripts() { global $post; wp_enqueue_style( 'style', get_stylesheet_uri() ); - wp_enqueue_script( 'small-menu', - Jetpack::get_file_url_for_environment( + Assets::get_file_url_for_environment( '_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js', 'modules/minileven/theme/pub/minileven/js/small-menu.js' ), |