summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/aggregator/aggregator.module')
-rw-r--r--modules/aggregator/aggregator.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 0b7d3cbd2..99d09940c 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -117,6 +117,10 @@ function aggregator_menu($may_cache) {
}
}
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', 'aggregator') .'/aggregator.css');
+
if (arg(0) == 'aggregator' && is_numeric(arg(2))) {
if (arg(1) == 'sources') {
$feed = aggregator_get_feed(arg(2));