aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/css/elements/components.php4
-rw-r--r--views/default/output/tags.php4
2 files changed, 3 insertions, 5 deletions
diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php
index ffb598c8b..c71ef1de9 100644
--- a/views/default/css/elements/components.php
+++ b/views/default/css/elements/components.php
@@ -271,10 +271,10 @@
float:left;
margin-right: 5px;
}
-.elgg-tags li.item-tag:after {
+.elgg-tags li.elgg-tag:after {
content: ",";
}
-.elgg-tags li.item-tag:last-child:after {
+.elgg-tags li.elgg-tag:last-child:after {
content: "";
}
.elgg-tagcloud {
diff --git a/views/default/output/tags.php b/views/default/output/tags.php
index 27b7a32a4..3082dd41e 100644
--- a/views/default/output/tags.php
+++ b/views/default/output/tags.php
@@ -44,13 +44,11 @@ if (!empty($vars['tags'])) {
$list_class = "elgg-tags";
if (isset($vars['list_class'])) {
$list_class = "$list_class {$vars['list_class']}";
- unset($vars['list_class']);
}
- $item_class = "item-tag";
+ $item_class = "elgg-tag";
if (isset($vars['item_class'])) {
$item_class = "$item_class {$vars['item_class']}";
- unset($vars['item_class']);
}
$icon_class = elgg_extract('icon_class', $vars);