Commit 9e4b566b authored by lucha's avatar lucha Committed by agata

Remove Google Fonts from nextgen-gallery

parent 90431697
...@@ -253,7 +253,7 @@ class M_Attach_To_Post extends C_Base_Module ...@@ -253,7 +253,7 @@ class M_Attach_To_Post extends C_Base_Module
return $content; return $content;
} }
function add_media_button() function add_media_button()
{ {
if (in_array(FALSE, array( if (in_array(FALSE, array(
...@@ -424,7 +424,7 @@ class M_Attach_To_Post extends C_Base_Module ...@@ -424,7 +424,7 @@ class M_Attach_To_Post extends C_Base_Module
if ($this->is_new_or_edit_post_screen()) { if ($this->is_new_or_edit_post_screen()) {
$router = C_Router::get_instance(); $router = C_Router::get_instance();
add_editor_style('https://fonts.googleapis.com/css?family=Lato'); // add_editor_style('https://fonts.googleapis.com/css?family=Lato');
add_editor_style($router->get_static_url('photocrati-attach_to_post#ngg_attach_to_post_tinymce_plugin.css')); add_editor_style($router->get_static_url('photocrati-attach_to_post#ngg_attach_to_post_tinymce_plugin.css'));
wp_enqueue_script('photocrati_ajax'); wp_enqueue_script('photocrati_ajax');
...@@ -612,4 +612,4 @@ class C_Attach_To_Post_Installer ...@@ -612,4 +612,4 @@ class C_Attach_To_Post_Installer
} }
} }
new M_Attach_To_Post(); new M_Attach_To_Post();
\ No newline at end of file
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