summaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js
index d52aa1c66..a425ced20 100644
--- a/js/main.js
+++ b/js/main.js
@@ -100,11 +100,11 @@ $(document).ready(function(){
var showAll;
if($(this).hasClass('show_all')){
data.show = 'unread';
- showAll = true;
+ showAll = false;
$(this).addClass('show_unread').removeClass('show_all');
} else {
data.show = 'all';
- showAll = false;
+ showAll = true;
$(this).addClass('show_all').removeClass('show_unread');
}
News.Objects.Menu.setShowAll(showAll);