diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-26 19:20:21 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-26 19:20:21 -0400 |
commit | f80555a94cc1d2fb21233b538ef8a4dd140486ea (patch) | |
tree | d9861479d84b3f5b59d2f20520de52f96ebf80ae /templates | |
parent | 3731be7db2273d76d55821cad34697bd5d7745a0 (diff) |
shows a spinner while updating feed
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.itemcounter.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/part.itemcounter.php b/templates/part.itemcounter.php index ad24a991b..9a1127ea8 100644 --- a/templates/part.itemcounter.php +++ b/templates/part.itemcounter.php @@ -10,7 +10,10 @@ function countUnreadItems($feedid) { ++$counter; } if ($counter > 0) { - echo '<span id="unreaditemcounter">' . $counter . '</span>'; + echo '<span id="unreaditemcounter" class="nonzero">' . $counter . '</span>'; + } + else { + echo '<span id="unreaditemcounter" class="zero"></span>'; } } |