From 87c0f7c92f5b089ad90c625e78baa90e85c1712c Mon Sep 17 00:00:00 2001 From: haszari Date: Wed, 13 Feb 2019 12:19:42 +1300 Subject: [PATCH] fix reference to data global (lint) --- assets/js/admin/marketplace-suggestions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/admin/marketplace-suggestions.js b/assets/js/admin/marketplace-suggestions.js index 6a95cc57843..34db9f977af 100644 --- a/assets/js/admin/marketplace-suggestions.js +++ b/assets/js/admin/marketplace-suggestions.js @@ -1,7 +1,7 @@ /* global installed_woo_plugins */ -( function( $, woocommerce_admin ) { +( function( $, installed_woo_plugins ) { $( function() { - if ( 'undefined' === typeof woocommerce_admin ) { + if ( 'undefined' === typeof installed_woo_plugins ) { return; } @@ -133,4 +133,4 @@ }); -})( jQuery, woocommerce_admin ); +})( jQuery, installed_woo_plugins );