summaryrefslogtreecommitdiff
path: root/modules/help/help.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/help/help.module')
-rw-r--r--modules/help/help.module8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/help/help.module b/modules/help/help.module
index a6df2c8da..61800cd56 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -28,11 +28,6 @@ function help_menu($may_cache) {
'access' => $admin_access);
}
}
- else {
- // Add the CSS for this module
- // We put this in !$may_cache so it's only added once per request
- drupal_add_css(drupal_get_path('module', 'help') .'/help.css');
- }
return $items;
}
@@ -41,6 +36,9 @@ function help_menu($may_cache) {
* Menu callback; prints a page listing a glossary of Drupal terminology.
*/
function help_main() {
+ // Add CSS
+ drupal_add_css(drupal_get_path('module', 'help') .'/help.css');
+
$output = t('
<h2>Help topics</h2>
<p>Help is available on the following items:</p>