Commit 3216430d authored by lucha's avatar lucha Committed by lechuck

Nextgengallery: Piclens js hosted locally

parent 8c954094
This diff is collapsed.
......@@ -18,10 +18,7 @@ class nggMediaRss {
* Add the javascript required to enable PicLens/CoolIris support
*/
function add_piclens_javascript() {
if (is_ssl())
wp_enqueue_script( 'piclens', 'https://lite.piclens.com/current/piclens_optimized.js', array(), false, true);
else
wp_enqueue_script( 'piclens', 'http://lite.piclens.com/current/piclens_optimized.js', array(), false, true);
wp_enqueue_script( 'piclens', NGGALLERY_URLPATH . 'js/piclens_optimized.js', array(), false, true);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment