From 13bf97073c19cf9fc4fbc22e1940a126fa5dfd03 Mon Sep 17 00:00:00 2001 From: Thomas Ashish Cherian <6967017+PandaWhoCodes@users.noreply.github.com> Date: Tue, 19 Nov 2019 13:07:53 +0530 Subject: [PATCH] Changed to latest datacamp js url Fixes load problems. --- datacamp-light-wordpress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacamp-light-wordpress.php b/datacamp-light-wordpress.php index d48a6bb..5dbd65a 100644 --- a/datacamp-light-wordpress.php +++ b/datacamp-light-wordpress.php @@ -20,7 +20,7 @@ public static function loadJSAndStyle(){ public static function loadJSAndStyleHook(){ wp_enqueue_style("datacamp-light-style", plugins_url('style/frontend_style.css', __FILE__)); - wp_enqueue_script("datacamp-light-library", "https://cdn.datacamp.com/datacamp-light-latest.min.js", array(), false, true); + wp_enqueue_script("datacamp-light-library", "//cdn.datacamp.com/dcl-react.js.gz", array(), false, true); } /**