summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-09-06 15:54:07 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-09-06 15:54:07 +0200
commit1853913a9ba943166c7277ff9ab90d7ace9336bb (patch)
treea8455b777c1c55f8280e282f249552fcc7866325 /js
parentdc5cb263d2b8b76306c28a338c6dd1a6df27ba0f (diff)
the caption of the eye should toggle
Diffstat (limited to 'js')
-rw-r--r--js/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index ae1b7eace..bde28dd23 100644
--- a/js/main.js
+++ b/js/main.js
@@ -105,9 +105,11 @@ $(document).ready(function(){
if($(this).hasClass('show_all')){
data.showAll = false;
$(this).addClass('show_unread').removeClass('show_all');
+ $(this).attr('title', t('news', 'Show only unread'));
} else {
data.showAll = true;
$(this).addClass('show_all').removeClass('show_unread');
+ $(this).attr('title', t('news', 'Show everything'));
}
News.Objects.Menu.triggerHideRead();