summaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-09-02 03:22:36 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-09-02 03:22:36 +0200
commit6b2aef96baab8611f1a57c498640e59c72730163 (patch)
tree8c902514fba5657bb1d3e5a95e39cc6f415bc22c /js/main.js
parent8e13a082bd4542dc5abf51b27f9b75bb8ccabb75 (diff)
fixed bug that would reverse the show all button
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);