summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/lazy-images/lazy-images.php')
-rw-r--r--plugins/jetpack/modules/lazy-images/lazy-images.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/lazy-images/lazy-images.php b/plugins/jetpack/modules/lazy-images/lazy-images.php
index befa5ec8..c8092840 100644
--- a/plugins/jetpack/modules/lazy-images/lazy-images.php
+++ b/plugins/jetpack/modules/lazy-images/lazy-images.php
@@ -1,5 +1,7 @@
<?php
+use Automattic\Jetpack\Assets;
+
class Jetpack_Lazy_Images {
private static $__instance = null;
@@ -341,7 +343,7 @@ class Jetpack_Lazy_Images {
public function enqueue_assets() {
wp_enqueue_script(
'jetpack-lazy-images',
- Jetpack::get_file_url_for_environment(
+ Assets::get_file_url_for_environment(
'_inc/build/lazy-images/js/lazy-images.min.js',
'modules/lazy-images/js/lazy-images.js'
),