diff --git a/cpn.admin.inc b/cpn.admin.inc index 96eb9c1..09a1dc7 100644 --- a/cpn.admin.inc +++ b/cpn.admin.inc @@ -87,13 +87,11 @@ function cpn_settings($form, &$form_state) { '#title' => t('Load CSS as external file'), '#type' => 'checkbox', '#default_value' => variable_get('cpn_external_css', FALSE), - // '#description' => t(''), ); $form['cpn_external']['cpn_external_js'] = array( '#title' => t('Load JavaScript as external file'), '#type' => 'checkbox', '#default_value' => variable_get('cpn_external_js', FALSE), - // '#description' => t(''), ); // Added weight to the appearance of the CSS & JS in the template. diff --git a/cpn.module b/cpn.module index 9138b44..fbbabd0 100644 --- a/cpn.module +++ b/cpn.module @@ -480,7 +480,6 @@ function cpn_node_view($node, $view_mode, $langcode) { $node->content['#attached'][$type]['cpn_node_' . $node->nid]['type'] = 'external'; $node->content['#attached'][$type]['cpn_node_' . $node->nid]['data'] = file_create_url($file) . '?' . $node->changed; } - $function($file, $options); } } }