Skip to content
Snippets Groups Projects
Commit d4091bdb authored by lucha's avatar lucha Committed by agata
Browse files

Remove Google Fonts from nextgen-gallery

parent cb41991f
No related branches found
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment