diff --git a/cpn.module b/cpn.module index 5c127c1..e4798b7 100644 --- a/cpn.module +++ b/cpn.module @@ -41,7 +41,7 @@ function cpn_page_build(&$page) { // Optional weights. $weight = array( 'css' => variable_get('cpn_weight_css', CSS_THEME), - 'js' => variable_get('cpn_weight_css', JS_THEME), + 'js' => variable_get('cpn_weight_js', JS_THEME), ); foreach (array('css', 'js') as $type) { @@ -306,7 +306,7 @@ function cpn_ctools_render_alter(&$info, &$page, &$context) { // Optional weights. $weight = array( 'css' => variable_get('cpn_weight_css', CSS_THEME), - 'js' => variable_get('cpn_weight_css', JS_THEME), + 'js' => variable_get('cpn_weight_js', JS_THEME), ); // Attach the content type CSS/JS, lighter than the per-page files. @@ -358,7 +358,7 @@ function cpn_node_view($node, $view_mode, $langcode) { // Optional weights. $weight = array( 'css' => variable_get('cpn_weight_css', CSS_THEME), - 'js' => variable_get('cpn_weight_css', JS_THEME), + 'js' => variable_get('cpn_weight_js', JS_THEME), ); // Attach the content type CSS/JS, lighter than the per-page files.