summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php')
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php
index 0c8d5bf0..3934a27d 100644
--- a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php
+++ b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php
@@ -179,6 +179,11 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
// Javascript logic specific to the list table
function page_admin_scripts() {
- wp_enqueue_script( 'jetpack-admin-js', plugins_url( '_inc/jetpack-admin.js', JETPACK__PLUGIN_FILE ), array( 'jquery' ), JETPACK__VERSION );
+ wp_enqueue_script(
+ 'jetpack-admin-js',
+ Jetpack::get_file_url_for_environment( '_inc/build/jetpack-admin.min.js', '_inc/jetpack-admin.js' ),
+ array( 'jquery' ),
+ JETPACK__VERSION
+ );
}
}